aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/glapi_gentable.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-10-05 17:53:07 +0200
committermarha <marha@users.sourceforge.net>2011-10-05 17:53:07 +0200
commita411d3abb8352c0f65fd4f045d825c0b023dadf4 (patch)
tree63c8431d1bc2d4128b772abeba0b2bbb1c8c2e7e /xorg-server/glx/glapi_gentable.c
parent04c46403d505dc0649b6acf3a12d81e34eeaf666 (diff)
downloadvcxsrv-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.c7
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);