summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/glapi_gentable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/glapi/glapi_gentable.c')
-rw-r--r--src/mapi/glapi/glapi_gentable.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mapi/glapi/glapi_gentable.c b/src/mapi/glapi/glapi_gentable.c
index f3fbe6f568e..27d1f861b24 100644
--- a/src/mapi/glapi/glapi_gentable.c
+++ b/src/mapi/glapi/glapi_gentable.c
@@ -5512,6 +5512,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);