Yikes, fixed a critical bug in Resource:Id which caused sorting/searching to be messed up
Small code cleanup
Fixed bug in glStateWrapper::InvalidMeshState() which caused vertex arrays to be messed up
Invalidate mesh state after creating vertex array object
Added sphere sphape to ShapeBuilder and updates shapes sample
Merge branch 'master' of https://github.com/floooh/oryol