aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/glapi_gentable.c
diff options
context:
space:
mode:
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 e88421332..54e83d0f6 100644
--- a/xorg-server/glx/glapi_gentable.c
+++ b/xorg-server/glx/glapi_gentable.c
@@ -8585,6 +8585,13 @@ _glapi_create_table_from_handle(void *handle, const char *symbol_prefix) {
}
+ if(!disp->GetInternalformativ) {
+ void ** procp = (void **) &disp->GetInternalformativ;
+ snprintf(symboln, sizeof(symboln), "%sGetInternalformativ", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
if(!disp->TexStorage1D) {
void ** procp = (void **) &disp->TexStorage1D;
snprintf(symboln, sizeof(symboln), "%sTexStorage1D", symbol_prefix);