libgoatvr

diff src/mesh.c @ 23:0fea7c2b25d7

compiles on osx, no further testing
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 12 Jan 2015 08:59:32 +0200
parents 827ec716c275
children 1a8343ea54ce
line diff
     1.1 --- a/src/mesh.c	Mon Jan 12 07:34:30 2015 +0200
     1.2 +++ b/src/mesh.c	Mon Jan 12 08:59:32 2015 +0200
     1.3 @@ -23,9 +23,17 @@
     1.4  static void (*glBindBuffer)(GLenum, GLuint);
     1.5  #else
     1.6  #ifndef GL_GLEXT_PROTOTYPES
     1.7 +
     1.8 +#ifndef GLAPI
     1.9 +#define GLAPI
    1.10 +#endif
    1.11 +#ifndef APIENTRY
    1.12 +#define APIENTRY
    1.13 +#endif
    1.14 +
    1.15  GLAPI void APIENTRY glGenBuffers(GLsizei, GLuint*);
    1.16 -GLAPI void APIENTRY glDeleteBuffers(GLsizei, GLuint*);
    1.17 -GLAPI void APIENTRY glBufferData(GLenum, unsigned int, const GLvoid*, GLenum);
    1.18 +GLAPI void APIENTRY glDeleteBuffers(GLsizei, const GLuint*);
    1.19 +GLAPI void APIENTRY glBufferData();
    1.20  GLAPI void APIENTRY glBindBuffer(GLenum, GLuint);
    1.21  #endif
    1.22  #endif