diff options
Diffstat (limited to 'core/jni/android_opengl_GLES10.cpp')
-rw-r--r-- | core/jni/android_opengl_GLES10.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/jni/android_opengl_GLES10.cpp b/core/jni/android_opengl_GLES10.cpp index 336c0ec..0c3d0e0 100644 --- a/core/jni/android_opengl_GLES10.cpp +++ b/core/jni/android_opengl_GLES10.cpp @@ -63,6 +63,12 @@ static void glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, glVertexAttribPointer(indx, size, type, normalized, stride, pointer); } #endif +#ifdef GL_ES_VERSION_3_0 +static void glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, + GLsizei stride, const GLvoid *pointer, GLsizei count) { + glVertexAttribIPointer(indx, size, type, stride, pointer); +} +#endif } /* Cache method IDs each time the class is loaded. */ @@ -1184,7 +1190,7 @@ android_glGetError__ (JNIEnv *_env, jobject _this) { GLenum _returnValue; _returnValue = glGetError(); - return _returnValue; + return (jint)_returnValue; } /* void glGetIntegerv ( GLenum pname, GLint *params ) */ |