From 1697026a62157deff9b3effaf0edc1ecab559799 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 22 Nov 2000 02:28:10 +0000 Subject: [PATCH] fix some compile and link errors --- source/gl_draw.c | 6 ++++++ source/vid_common_gl.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/source/gl_draw.c b/source/gl_draw.c index 900a9b9..18850de 100644 --- a/source/gl_draw.c +++ b/source/gl_draw.c @@ -1183,6 +1183,12 @@ GL_Upload8_EXT (byte *data, int width, int height, qboolean mipmap, qboolean al free (scaled); } +#else +void +GL_Upload8_EXT (byte *data, int width, int height, qboolean mipmap, qboolean alpha) +{ + // this space intentionally left blank +} #endif extern qboolean VID_Is8bit(); diff --git a/source/vid_common_gl.c b/source/vid_common_gl.c index ab8264f..2f3c3bb 100644 --- a/source/vid_common_gl.c +++ b/source/vid_common_gl.c @@ -328,7 +328,7 @@ void #ifndef HAVE_PFNGLCOLORTABLEEXTPROC # ifndef PFNGLCOLORTABLEEXTPROC -typedef void (APIENTRY * PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); +typedef void (GLAPIENTRY * PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); # endif #endif