Fixed smallTile test as it was checking against <=2^14 rather than <2^16 which is more conservative than required for a ushort container
This commit is contained in:
@@ -262,7 +262,7 @@ osg::ref_ptr<SharedGeometry> GeometryPool::getOrCreateGeometry(osgTerrain::Terra
|
||||
}
|
||||
}
|
||||
|
||||
bool smallTile = numVertices <= 16384;
|
||||
bool smallTile = numVertices < 65536;
|
||||
|
||||
GLenum primitiveTypes = GL_QUADS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user