diff options
author | marha <marha@users.sourceforge.net> | 2011-11-07 08:32:50 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-11-07 08:32:50 +0100 |
commit | 09c0aa163ab00fcf51c0a217c5efec55e32361d6 (patch) | |
tree | c1f2b2aa01c25a2d1f8aae0f459fd51523715ab4 /xorg-server/glx/glapi_gentable.c | |
parent | af3f3672e5f77a06a24b1e648ee118f1420b45ae (diff) | |
download | vcxsrv-09c0aa163ab00fcf51c0a217c5efec55e32361d6.tar.gz vcxsrv-09c0aa163ab00fcf51c0a217c5efec55e32361d6.tar.bz2 vcxsrv-09c0aa163ab00fcf51c0a217c5efec55e32361d6.zip |
Synchronised files
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); |