mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
no UH_stream in OpenGL ES
This commit is contained in:
parent
cce0129c7b
commit
114f0650f7
@ -5851,7 +5851,11 @@ GLenum CLP(GraphicsStateGuardian)::
|
|||||||
get_usage(Geom::UsageHint usage_hint) {
|
get_usage(Geom::UsageHint usage_hint) {
|
||||||
switch (usage_hint) {
|
switch (usage_hint) {
|
||||||
case Geom::UH_stream:
|
case Geom::UH_stream:
|
||||||
|
#ifdef OPENGLES_1
|
||||||
|
return GL_DYNAMIC_DRAW;
|
||||||
|
#else
|
||||||
return GL_STREAM_DRAW;
|
return GL_STREAM_DRAW;
|
||||||
|
#endif // OPENGLES_1
|
||||||
|
|
||||||
case Geom::UH_static:
|
case Geom::UH_static:
|
||||||
case Geom::UH_unspecified:
|
case Geom::UH_unspecified:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user