mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
glgsg: Fix compile error with OpenGL ES 1
This commit is contained in:
parent
842452594d
commit
ef4b1d5721
@ -4314,7 +4314,9 @@ begin_draw_primitives(const GeomPipelineReader *geom_reader,
|
||||
}
|
||||
nassertr(_data_reader != nullptr, false);
|
||||
|
||||
#ifndef OPENGLES_1
|
||||
_instance_count = _supports_geometry_instancing ? num_instances : 1;
|
||||
#endif
|
||||
|
||||
_geom_display_list = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user