fix some compile and link errors

This commit is contained in:
Bill Currie 2000-11-22 02:28:10 +00:00
parent 47c70b3257
commit 1697026a62
2 changed files with 7 additions and 1 deletions

View file

@ -1183,6 +1183,12 @@ GL_Upload8_EXT (byte *data, int width, int height, qboolean mipmap, qboolean al
free (scaled); free (scaled);
} }
#else
void
GL_Upload8_EXT (byte *data, int width, int height, qboolean mipmap, qboolean alpha)
{
// this space intentionally left blank
}
#endif #endif
extern qboolean VID_Is8bit(); extern qboolean VID_Is8bit();

View file

@ -328,7 +328,7 @@ void
#ifndef HAVE_PFNGLCOLORTABLEEXTPROC #ifndef HAVE_PFNGLCOLORTABLEEXTPROC
# ifndef 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
#endif #endif