no UH_stream in OpenGL ES

This commit is contained in:
David Rose 2009-05-02 03:40:26 +00:00
parent cce0129c7b
commit 114f0650f7

View File

@ -5851,7 +5851,11 @@ GLenum CLP(GraphicsStateGuardian)::
get_usage(Geom::UsageHint usage_hint) {
switch (usage_hint) {
case Geom::UH_stream:
#ifdef OPENGLES_1
return GL_DYNAMIC_DRAW;
#else
return GL_STREAM_DRAW;
#endif // OPENGLES_1
case Geom::UH_static:
case Geom::UH_unspecified: