diff options
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/gl.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/render/gl.h b/src/render/gl.h index bdb6dab..e6d6f92 100644 --- a/src/render/gl.h +++ b/src/render/gl.h @@ -221,10 +221,12 @@ void texgeni(GLenum coord, GLenum param, GLenum value); void texgenfv(GLenum coord, GLenum param, const GLfloat* value); -typedef void (* genbuffers_func)(GLuint count, GLuint *id); -typedef void (* deletebuffers_func)(GLuint count, GLuint *id); -typedef void (* bindbuffer_func)(GLenum target, GLuint id); -typedef void (* bufferdata_func)(GLenum target, GLsizei size, const GLvoid *data, GLenum usage); +typedef void (* APIENTRY genbuffers_func)(GLuint count, GLuint *id); +typedef void (* APIENTRY deletebuffers_func)(GLuint count, GLuint *id); +typedef void (* APIENTRY bindbuffer_func)(GLenum target, GLuint id); +typedef void (* APIENTRY bufferdata_func)(GLenum target, GLsizei size, const GLvoid *data, GLenum usage); + +extern "C" { extern genbuffers_func genbuffers; extern deletebuffers_func deletebuffers; @@ -233,4 +235,6 @@ extern bufferdata_func bufferdata; } +} + #endif // __INCLUDED_RENDER_GL_H__ |