diff options
author | marha <marha@users.sourceforge.net> | 2011-06-21 14:49:49 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-06-21 14:49:49 +0200 |
commit | e980a639952c7b2732b53c63e64335f14c319381 (patch) | |
tree | 4a50472fcc3509a99f0025031b7c03678527feef /xorg-server/glx/glapi_gentable.c | |
parent | b4245ead28394a635ac12ace84452ebffd0bbc7a (diff) | |
download | vcxsrv-e980a639952c7b2732b53c63e64335f14c319381.tar.gz vcxsrv-e980a639952c7b2732b53c63e64335f14c319381.tar.bz2 vcxsrv-e980a639952c7b2732b53c63e64335f14c319381.zip |
Synchronised files with mesa
Diffstat (limited to 'xorg-server/glx/glapi_gentable.c')
-rw-r--r-- | xorg-server/glx/glapi_gentable.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xorg-server/glx/glapi_gentable.c b/xorg-server/glx/glapi_gentable.c index 5696aa467..9e99429a4 100644 --- a/xorg-server/glx/glapi_gentable.c +++ b/xorg-server/glx/glapi_gentable.c @@ -8732,6 +8732,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); } |