OpenGL ES doesn't have GL_DOUBLE

This commit is contained in:
rdb 2011-10-07 13:51:04 +00:00
parent 3e89b7a4e8
commit 9b23b04b7d
1 changed files with 2 additions and 0 deletions

View File

@ -5737,8 +5737,10 @@ get_numeric_type(Geom::NumericType numeric_type) {
case Geom::NT_float32:
return GL_FLOAT;
#ifndef OPENGLES
case Geom::NT_float64:
return GL_DOUBLE;
#endif
}
GLCAT.error()