@@ -146,7 +146,11 @@ ANT_GL_CORE_DECL(void, glGetCompressedTexImage, (GLenum target, GLint level, GLv
146146// GL 1.4
147147ANT_GL_CORE_DECL(void , glBlendFuncSeparate, (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha))
148148ANT_GL_CORE_DECL(void , glMultiDrawArrays, (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount))
149+ #if defined(ANT_OSX)
150+ ANT_GL_CORE_DECL (void , glMultiDrawElements, (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount))
151+ #else
149152ANT_GL_CORE_DECL (void , glMultiDrawElements, (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount))
153+ #endif
150154ANT_GL_CORE_DECL (void , glPointParameterf, (GLenum pname, GLfloat param))
151155ANT_GL_CORE_DECL(void , glPointParameterfv, (GLenum pname, const GLfloat *params))
152156ANT_GL_CORE_DECL(void , glPointParameteri, (GLenum pname, GLint param))
@@ -211,7 +215,11 @@ ANT_GL_CORE_DECL(void, glGetVertexAttribPointerv, (GLuint index, GLenum pname, G
211215ANT_GL_CORE_DECL(GLboolean, glIsProgram, (GLuint program))
212216ANT_GL_CORE_DECL(GLboolean, glIsShader, (GLuint shader))
213217ANT_GL_CORE_DECL(void , glLinkProgram, (GLuint program))
218+ #ifdef __APPLE__
219+ ANT_GL_CORE_DECL (void , glShaderSource, (GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length))
220+ #else
214221ANT_GL_CORE_DECL (void , glShaderSource, (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length))
222+ #endif
215223ANT_GL_CORE_DECL (void , glUseProgram, (GLuint program))
216224ANT_GL_CORE_DECL(void , glUniform1f, (GLint location, GLfloat v0))
217225ANT_GL_CORE_DECL(void , glUniform2f, (GLint location, GLfloat v0, GLfloat v1))
0 commit comments