diff options
Diffstat (limited to 'mesalib/src/mapi/glapi/glapi_gentable.c')
-rw-r--r-- | mesalib/src/mapi/glapi/glapi_gentable.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mesalib/src/mapi/glapi/glapi_gentable.c b/mesalib/src/mapi/glapi/glapi_gentable.c index f3fbe6f56..27d1f861b 100644 --- a/mesalib/src/mapi/glapi/glapi_gentable.c +++ b/mesalib/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); |