libgoatvr
changeset 20:827ec716c275
god I miss glew...
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 11 Oct 2014 07:18:07 +0300 |
parents | 437fe32ac633 |
children | 7f9cc8a4d3a5 |
files | src/mesh.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- a/src/mesh.c Sat Oct 04 03:39:14 2014 +0300 1.2 +++ b/src/mesh.c Sat Oct 11 07:18:07 2014 +0300 1.3 @@ -21,6 +21,13 @@ 1.4 static void (*glDeleteBuffers)(GLsizei, GLuint*); 1.5 static void (*glBufferData)(GLenum, unsigned int, const GLvoid*, GLenum); 1.6 static void (*glBindBuffer)(GLenum, GLuint); 1.7 +#else 1.8 +#ifndef GL_GLEXT_PROTOTYPES 1.9 +GLAPI void APIENTRY glGenBuffers(GLsizei, GLuint*); 1.10 +GLAPI void APIENTRY glDeleteBuffers(GLsizei, GLuint*); 1.11 +GLAPI void APIENTRY glBufferData(GLenum, unsigned int, const GLvoid*, GLenum); 1.12 +GLAPI void APIENTRY glBindBuffer(GLenum, GLuint); 1.13 +#endif 1.14 #endif 1.15 1.16 int vrimp_mesh_init(struct mesh *m)