aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/glapi_gentable.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-01-31 08:18:11 +0100
committermarha <marha@users.sourceforge.net>2013-01-31 08:18:11 +0100
commit2fc48c488a930aef819a5dc6c283d0cabad521a4 (patch)
tree62b68e9dd05c78cd64f24c18b30d31c99414dee7 /xorg-server/glx/glapi_gentable.c
parent3dc034dda1a451ed7dc48cfb10caba11e66b4132 (diff)
downloadvcxsrv-2fc48c488a930aef819a5dc6c283d0cabad521a4.tar.gz
vcxsrv-2fc48c488a930aef819a5dc6c283d0cabad521a4.tar.bz2
vcxsrv-2fc48c488a930aef819a5dc6c283d0cabad521a4.zip
Synchronised files
Diffstat (limited to 'xorg-server/glx/glapi_gentable.c')
-rw-r--r--xorg-server/glx/glapi_gentable.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/xorg-server/glx/glapi_gentable.c b/xorg-server/glx/glapi_gentable.c
index 54e83d0f6..1839898dc 100644
--- a/xorg-server/glx/glapi_gentable.c
+++ b/xorg-server/glx/glapi_gentable.c
@@ -8634,6 +8634,13 @@ _glapi_create_table_from_handle(void *handle, const char *symbol_prefix) {
}
+ if(!disp->TexBufferRange) {
+ void ** procp = (void **) &disp->TexBufferRange;
+ snprintf(symboln, sizeof(symboln), "%sTexBufferRange", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
if(!disp->InvalidateBufferData) {
void ** procp = (void **) &disp->InvalidateBufferData;
snprintf(symboln, sizeof(symboln), "%sInvalidateBufferData", symbol_prefix);