Fix OpenGL ES 1 compile error, it does not have GL_INT

This commit is contained in:
rdb 2015-05-11 14:19:06 +02:00
parent 4486fda042
commit e8ce2b7b54
1 changed files with 4 additions and 0 deletions

View File

@ -7391,7 +7391,11 @@ get_numeric_type(Geom::NumericType numeric_type) {
return GL_SHORT;
case Geom::NT_int32:
#ifndef OPENGLES_1
return GL_INT;
#else
break;
#endif
case Geom::NT_packed_ufloat:
#ifndef OPENGLES