diff options
Diffstat (limited to 'src/mapi/glapi/glapi_gentable.c')
-rw-r--r-- | src/mapi/glapi/glapi_gentable.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mapi/glapi/glapi_gentable.c b/src/mapi/glapi/glapi_gentable.c index 6dd02a747e1..a2a28a710fd 100644 --- a/src/mapi/glapi/glapi_gentable.c +++ b/src/mapi/glapi/glapi_gentable.c @@ -8727,6 +8727,13 @@ _glapi_create_table_from_handle(void *handle, const char *symbol_prefix) { if(!disp->FramebufferTextureLayerEXT) { void ** procp = (void **) &disp->FramebufferTextureLayerEXT; + snprintf(symboln, sizeof(symboln), "%sFramebufferTextureLayerARB", symbol_prefix); + *procp = dlsym(handle, symboln); + } + + + if(!disp->FramebufferTextureLayerEXT) { + void ** procp = (void **) &disp->FramebufferTextureLayerEXT; snprintf(symboln, sizeof(symboln), "%sFramebufferTextureLayerEXT", symbol_prefix); *procp = dlsym(handle, symboln); } |