mirror of
https://github.com/reactos/wine.git
synced 2025-02-22 05:40:50 +00:00
wgl: Fix a render_texture regression. Only enable GLX_ATI_render_texture when the ati extension is around.
This commit is contained in:
parent
c31ead4768
commit
d068bdd820
@ -139,7 +139,7 @@ typedef struct wine_glpbuffer {
|
||||
static Wine_GLContext *context_list;
|
||||
static struct WineGLInfo WineGLInfo = { 0 };
|
||||
static int use_render_texture_emulation = 1;
|
||||
static int use_render_texture_ati = 1;
|
||||
static int use_render_texture_ati = 0;
|
||||
static int swap_interval = 1;
|
||||
|
||||
#define MAX_EXTENSIONS 16
|
||||
@ -507,6 +507,7 @@ LOAD_FUNCPTR(glXFreeMemoryNV)
|
||||
}
|
||||
|
||||
if(glxRequireExtension("GLX_ATI_render_texture")) {
|
||||
use_render_texture_ati = 1;
|
||||
pglXBindTexImageATI = (void*)pglXGetProcAddressARB((const GLubyte *) "glXBindTexImageATI");
|
||||
pglXReleaseTexImageATI = (void*)pglXGetProcAddressARB((const GLubyte *) "glXReleaseTexImageATI");
|
||||
pglXDrawableAttribATI = (void*)pglXGetProcAddressARB((const GLubyte *) "glXDrawableAttribATI");
|
||||
|
Loading…
x
Reference in New Issue
Block a user