aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/glapi_gentable.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-03-12 10:45:03 +0100
committermarha <marha@users.sourceforge.net>2012-03-12 10:47:48 +0100
commitc84235ee0d9940e6a779ec306e615603b58a79f2 (patch)
tree09c502e8f6d87fe6b21221b147f91342c7715920 /xorg-server/glx/glapi_gentable.c
parente36b40e32ca6257b6d1bceb44bb18f739d508f28 (diff)
downloadvcxsrv-c84235ee0d9940e6a779ec306e615603b58a79f2.tar.gz
vcxsrv-c84235ee0d9940e6a779ec306e615603b58a79f2.tar.bz2
vcxsrv-c84235ee0d9940e6a779ec306e615603b58a79f2.zip
Synchronised files with mesa
Diffstat (limited to 'xorg-server/glx/glapi_gentable.c')
-rw-r--r--xorg-server/glx/glapi_gentable.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/xorg-server/glx/glapi_gentable.c b/xorg-server/glx/glapi_gentable.c
index 5c0480170..abb0d0109 100644
--- a/xorg-server/glx/glapi_gentable.c
+++ b/xorg-server/glx/glapi_gentable.c
@@ -6261,6 +6261,34 @@ _glapi_create_table_from_handle(void *handle, const char *symbol_prefix) {
}
+ if(!disp->DebugMessageCallbackARB) {
+ void ** procp = (void **) &disp->DebugMessageCallbackARB;
+ snprintf(symboln, sizeof(symboln), "%sDebugMessageCallbackARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DebugMessageControlARB) {
+ void ** procp = (void **) &disp->DebugMessageControlARB;
+ snprintf(symboln, sizeof(symboln), "%sDebugMessageControlARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->DebugMessageInsertARB) {
+ void ** procp = (void **) &disp->DebugMessageInsertARB;
+ snprintf(symboln, sizeof(symboln), "%sDebugMessageInsertARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->GetDebugMessageLogARB) {
+ void ** procp = (void **) &disp->GetDebugMessageLogARB;
+ snprintf(symboln, sizeof(symboln), "%sGetDebugMessageLogARB", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
if(!disp->GetGraphicsResetStatusARB) {
void ** procp = (void **) &disp->GetGraphicsResetStatusARB;
snprintf(symboln, sizeof(symboln), "%sGetGraphicsResetStatusARB", symbol_prefix);