diff options
Diffstat (limited to 'xorg-server/glx/glapi_gentable.c')
-rw-r--r-- | xorg-server/glx/glapi_gentable.c | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/xorg-server/glx/glapi_gentable.c b/xorg-server/glx/glapi_gentable.c index 0caf1c79e..aec35dd5e 100644 --- a/xorg-server/glx/glapi_gentable.c +++ b/xorg-server/glx/glapi_gentable.c @@ -6381,6 +6381,48 @@ _glapi_create_table_from_handle(void *handle, const char *symbol_prefix) { } + if(!disp->TexStorage1D) { + void ** procp = (void **) &disp->TexStorage1D; + snprintf(symboln, sizeof(symboln), "%sTexStorage1D", symbol_prefix); + *procp = dlsym(handle, symboln); + } + + + if(!disp->TexStorage2D) { + void ** procp = (void **) &disp->TexStorage2D; + snprintf(symboln, sizeof(symboln), "%sTexStorage2D", symbol_prefix); + *procp = dlsym(handle, symboln); + } + + + if(!disp->TexStorage3D) { + void ** procp = (void **) &disp->TexStorage3D; + snprintf(symboln, sizeof(symboln), "%sTexStorage3D", symbol_prefix); + *procp = dlsym(handle, symboln); + } + + + if(!disp->TextureStorage1DEXT) { + void ** procp = (void **) &disp->TextureStorage1DEXT; + snprintf(symboln, sizeof(symboln), "%sTextureStorage1DEXT", symbol_prefix); + *procp = dlsym(handle, symboln); + } + + + if(!disp->TextureStorage2DEXT) { + void ** procp = (void **) &disp->TextureStorage2DEXT; + snprintf(symboln, sizeof(symboln), "%sTextureStorage2DEXT", symbol_prefix); + *procp = dlsym(handle, symboln); + } + + + if(!disp->TextureStorage3DEXT) { + void ** procp = (void **) &disp->TextureStorage3DEXT; + snprintf(symboln, sizeof(symboln), "%sTextureStorage3DEXT", symbol_prefix); + *procp = dlsym(handle, symboln); + } + + if(!disp->PolygonOffsetEXT) { void ** procp = (void **) &disp->PolygonOffsetEXT; snprintf(symboln, sizeof(symboln), "%sPolygonOffsetEXT", symbol_prefix); |