diff options
Diffstat (limited to 'make/stub_includes/opengl/GL')
-rw-r--r-- | make/stub_includes/opengl/GL/gl.h | 2 | ||||
-rw-r--r-- | make/stub_includes/opengl/GL/glext.h | 4 | ||||
-rw-r--r-- | make/stub_includes/opengl/GL/glplatform.h | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/make/stub_includes/opengl/GL/gl.h b/make/stub_includes/opengl/GL/gl.h index 142e03510..0fe44172e 100644 --- a/make/stub_includes/opengl/GL/gl.h +++ b/make/stub_includes/opengl/GL/gl.h @@ -694,7 +694,7 @@ GLAPI void GLAPIENTRY glDepthFunc( GLenum func ); GLAPI void GLAPIENTRY glDepthMask( GLboolean flag ); -GLAPI void GLAPIENTRY glDepthRange( GLclampd near_val, GLclampd far_val ); +GLAPI void GLAPIENTRY glDepthRange( GLclampd zNear, GLclampd zFar ); /* diff --git a/make/stub_includes/opengl/GL/glext.h b/make/stub_includes/opengl/GL/glext.h index 74388ff66..846394048 100644 --- a/make/stub_includes/opengl/GL/glext.h +++ b/make/stub_includes/opengl/GL/glext.h @@ -6964,8 +6964,8 @@ typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index GLAPI void APIENTRY glReleaseShaderCompiler (void); GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length); GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); -GLAPI void APIENTRY glDepthRangef (GLclampf n, GLclampf f); -GLAPI void APIENTRY glClearDepthf (GLclampf d); +GLAPI void APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar); +GLAPI void APIENTRY glClearDepthf (GLclampf depth); #endif /* GL_GLEXT_PROTOTYPES */ typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length); diff --git a/make/stub_includes/opengl/GL/glplatform.h b/make/stub_includes/opengl/GL/glplatform.h index d922eaa1a..5d42943d7 100644 --- a/make/stub_includes/opengl/GL/glplatform.h +++ b/make/stub_includes/opengl/GL/glplatform.h @@ -24,7 +24,9 @@ # define GLAPIENTRY __stdcall #else /* non-Windows compilation */ -# define GLAPI extern +# ifndef GLAPI +# define GLAPI extern +# endif # define GLAPIENTRY #endif /* WIN32 / CYGWIN bracket */ |