Replaced osg::DrawElementeUInt usage for a more flexible DrawElements base class approach with the default set to DrawElementUShort to ensure compatibility with GLES2 implementes that don't support uint for glDrawElements.
This commit is contained in:
@@ -313,7 +313,7 @@ public:
|
||||
osg::buffered_object<Coords3> _transformedBackdropCoords[8];
|
||||
ColorCoords _colorCoords;
|
||||
|
||||
osg::ref_ptr<osg::DrawElementsUInt> _quadIndices;
|
||||
osg::ref_ptr<osg::DrawElements> _quadIndices;
|
||||
void updateQuadIndices();
|
||||
|
||||
GlyphQuads();
|
||||
|
||||
Reference in New Issue
Block a user