diff options
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 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); |