diff options
author | marha <marha@users.sourceforge.net> | 2011-10-05 17:53:07 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-10-05 17:53:07 +0200 |
commit | a411d3abb8352c0f65fd4f045d825c0b023dadf4 (patch) | |
tree | 63c8431d1bc2d4128b772abeba0b2bbb1c8c2e7e /xorg-server/glx/glapi_gentable.c | |
parent | 04c46403d505dc0649b6acf3a12d81e34eeaf666 (diff) | |
download | vcxsrv-a411d3abb8352c0f65fd4f045d825c0b023dadf4.tar.gz vcxsrv-a411d3abb8352c0f65fd4f045d825c0b023dadf4.tar.bz2 vcxsrv-a411d3abb8352c0f65fd4f045d825c0b023dadf4.zip |
Synchronised files
Diffstat (limited to 'xorg-server/glx/glapi_gentable.c')
-rw-r--r-- | xorg-server/glx/glapi_gentable.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xorg-server/glx/glapi_gentable.c b/xorg-server/glx/glapi_gentable.c index f10172245..0caf1c79e 100644 --- a/xorg-server/glx/glapi_gentable.c +++ b/xorg-server/glx/glapi_gentable.c @@ -5520,6 +5520,13 @@ _glapi_create_table_from_handle(void *handle, const char *symbol_prefix) { } + if(!disp->DrawBuffersARB) { + void ** procp = (void **) &disp->DrawBuffersARB; + snprintf(symboln, sizeof(symboln), "%sDrawBuffersNV", symbol_prefix); + *procp = dlsym(handle, symboln); + } + + if(!disp->ClampColorARB) { void ** procp = (void **) &disp->ClampColorARB; snprintf(symboln, sizeof(symboln), "%sClampColorARB", symbol_prefix); |