mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-29 07:12:30 +00:00
fix some compile and link errors
This commit is contained in:
parent
47c70b3257
commit
1697026a62
2 changed files with 7 additions and 1 deletions
|
@ -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();
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue