Functions like glGenTextures and glBindTexture are in OpenGL 1.1 and can be
resolved at linktime. Fixes tuxkart (at least with wine)
This commit is contained in:
parent
5ca5fe7111
commit
1562ec5cc3
|
@ -1,7 +1,13 @@
|
||||||
|
2005-01-27 Alexander Gottwald <ago at freedesktop dot org>
|
||||||
|
|
||||||
|
* glwrap.c:
|
||||||
|
Functions like glGenTextures and glBindTexture are in OpenGL 1.1
|
||||||
|
and can be resolved at linktime.
|
||||||
|
|
||||||
2004-11-15 Alexander Gottwald <ago at freedesktop dot org>
|
2004-11-15 Alexander Gottwald <ago at freedesktop dot org>
|
||||||
|
|
||||||
* indirect.c:
|
* indirect.c:
|
||||||
Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802
|
Bugzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802
|
||||||
Added mingw (Win32) port
|
Added mingw (Win32) port
|
||||||
|
|
||||||
2004-08-13 Alexander Gottwald <ago@freedesktop.org>
|
2004-08-13 Alexander Gottwald <ago@freedesktop.org>
|
||||||
|
|
|
@ -324,38 +324,32 @@ GLAPI void GLAPIENTRY glCopyTexSubImage3D( GLenum target, GLint level,
|
||||||
*/
|
*/
|
||||||
GLAPI void GLAPIENTRY glGenTexturesEXT( GLsizei n, GLuint *textures )
|
GLAPI void GLAPIENTRY glGenTexturesEXT( GLsizei n, GLuint *textures )
|
||||||
{
|
{
|
||||||
RESOLVE(PFNGLGENTEXTURESEXTPROC, "glGenTexturesEXT");
|
glGenTextures(n, textures);
|
||||||
proc(n, textures);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GLAPI void GLAPIENTRY glDeleteTexturesEXT( GLsizei n, const GLuint *textures)
|
GLAPI void GLAPIENTRY glDeleteTexturesEXT( GLsizei n, const GLuint *textures)
|
||||||
{
|
{
|
||||||
RESOLVE(PFNGLDELETETEXTURESEXTPROC, "glDeleteTexturesEXT");
|
glDeleteTextures(n, textures);
|
||||||
proc(n, textures);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GLAPI void GLAPIENTRY glBindTextureEXT( GLenum target, GLuint texture )
|
GLAPI void GLAPIENTRY glBindTextureEXT( GLenum target, GLuint texture )
|
||||||
{
|
{
|
||||||
RESOLVE(PFNGLBINDTEXTUREEXTPROC, "glBindTextureEXT");
|
glBindTexture(target, target);
|
||||||
proc(target, target);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GLAPI void GLAPIENTRY glPrioritizeTexturesEXT( GLsizei n, const GLuint *textures, const GLclampf *priorities )
|
GLAPI void GLAPIENTRY glPrioritizeTexturesEXT( GLsizei n, const GLuint *textures, const GLclampf *priorities )
|
||||||
{
|
{
|
||||||
RESOLVE(PFNGLPRIORITIZETEXTURESEXTPROC, "glPrioritizeTexturesEXT");
|
glPrioritizeTextures(n, textures, priorities);
|
||||||
proc(n, textures, priorities);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GLAPI GLboolean GLAPIENTRY glAreTexturesResidentEXT( GLsizei n, const GLuint *textures, GLboolean *residences )
|
GLAPI GLboolean GLAPIENTRY glAreTexturesResidentEXT( GLsizei n, const GLuint *textures, GLboolean *residences )
|
||||||
{
|
{
|
||||||
RESOLVE_RET(PFNGLARETEXTURESRESIDENTEXTPROC, "glAreTexturesResidentEXT", FALSE);
|
return glAreTexturesResident(n, textures, residences);
|
||||||
return proc(n, textures, residences);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GLAPI GLboolean GLAPIENTRY glIsTextureEXT( GLuint texture )
|
GLAPI GLboolean GLAPIENTRY glIsTextureEXT( GLuint texture )
|
||||||
{
|
{
|
||||||
RESOLVE_RET(PFNGLISTEXTUREEXTPROC, "glIsTextureEXT", FALSE);
|
return glIsTexture(texture);
|
||||||
return proc(texture);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user