summaryrefslogtreecommitdiffstats
path: root/opengl/include/GLES2/gl2ext.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-05-27 20:32:20 -0700
committerMathias Agopian <mathias@google.com>2009-05-27 20:32:20 -0700
commita3d66a834f7e6796003684652d8aef13fa6345cd (patch)
tree0dac0b9c9ec335b62878ea63617a0c8cfd6ce05b /opengl/include/GLES2/gl2ext.h
parent48efd950151369a5c049c8a92f36663a88206b4e (diff)
downloadframeworks_native-a3d66a834f7e6796003684652d8aef13fa6345cd.zip
frameworks_native-a3d66a834f7e6796003684652d8aef13fa6345cd.tar.gz
frameworks_native-a3d66a834f7e6796003684652d8aef13fa6345cd.tar.bz2
minor modifications to the official GLES 2.x headers
- changed glTexImage2D() declaration so it matches that of GLES 1.x; otherwise we can't include both headers (!!!) - added parameter names to the declaration of some extensions (this is needed by glapigen and glentrygen)
Diffstat (limited to 'opengl/include/GLES2/gl2ext.h')
-rw-r--r--opengl/include/GLES2/gl2ext.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/opengl/include/GLES2/gl2ext.h b/opengl/include/GLES2/gl2ext.h
index b9a3847..72f1ae7 100644
--- a/opengl/include/GLES2/gl2ext.h
+++ b/opengl/include/GLES2/gl2ext.h
@@ -470,13 +470,13 @@ typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monito
#ifndef GL_NV_fence
#define GL_NV_fence 1
#ifdef GL_GLEXT_PROTOTYPES
-GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei, const GLuint *);
-GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei, GLuint *);
-GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint);
-GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint);
-GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint, GLenum, GLint *);
-GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint);
-GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint, GLenum);
+GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
+GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
+GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence);
+GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence);
+GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
+GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence);
+GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
#endif
typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);