From 922a876cd4f26f5a197f56460be777f48d0b97ac Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 23 May 2005 05:32:55 +0000 Subject: [PATCH] bigfoot's code doesn't compile very well in windows. Heh. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1052 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_vidcommon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/gl/gl_vidcommon.c b/engine/gl/gl_vidcommon.c index c4789170f..c87bfb814 100644 --- a/engine/gl/gl_vidcommon.c +++ b/engine/gl/gl_vidcommon.c @@ -163,9 +163,9 @@ int texture_mode = GL_LINEAR; int texture_extension_number = 1; -void GL_DrawRangeElementsEmul(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) +void APIENTRY GL_DrawRangeElementsEmul(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) { - glDrawElements(mode, count, type, indices); + qglDrawElements(mode, count, type, indices); } #define getglcore getglfunction