diff options
Diffstat (limited to 'src/mapi/glapi/glapi_gentable.c')
-rw-r--r-- | src/mapi/glapi/glapi_gentable.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mapi/glapi/glapi_gentable.c b/src/mapi/glapi/glapi_gentable.c index abb0d01092e..d459ae85112 100644 --- a/src/mapi/glapi/glapi_gentable.c +++ b/src/mapi/glapi/glapi_gentable.c @@ -5813,6 +5813,20 @@ _glapi_create_table_from_handle(void *handle, const char *symbol_prefix) { } + if(!disp->BindFragDataLocationIndexed) { + void ** procp = (void **) &disp->BindFragDataLocationIndexed; + snprintf(symboln, sizeof(symboln), "%sBindFragDataLocationIndexed", symbol_prefix); + *procp = dlsym(handle, symboln); + } + + + if(!disp->GetFragDataIndex) { + void ** procp = (void **) &disp->GetFragDataIndex; + snprintf(symboln, sizeof(symboln), "%sGetFragDataIndex", symbol_prefix); + *procp = dlsym(handle, symboln); + } + + if(!disp->BindSampler) { void ** procp = (void **) &disp->BindSampler; snprintf(symboln, sizeof(symboln), "%sBindSampler", symbol_prefix); |