Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-10-24 16:02:09 +0000
committerStijn Buys <ingar@osirion.org>2010-10-24 16:02:09 +0000
commita704318f507f486ac04834747eb209d0a9410702 (patch)
treeb6f3f6df4b285be0b9c6e91c0486271daf0bb6ee /src/render/gl.h
parentc2a6f7c2ee6245109c897ee23b093b5277a30594 (diff)
keepalive optimizations, r_lights engine variable, OpenGL VBO support
Diffstat (limited to 'src/render/gl.h')
-rw-r--r--src/render/gl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/render/gl.h b/src/render/gl.h
index dcac869..222ee0e 100644
--- a/src/render/gl.h
+++ b/src/render/gl.h
@@ -218,6 +218,17 @@ void frustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdou
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);
+
+extern genbuffers_func genbuffers;
+extern deletebuffers_func deletebuffers;
+extern bindbuffer_func bindbuffer;
+extern bufferdata_func bufferdata;
+
}
#endif // __INCLUDED_RENDER_GL_H__