aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mapi/glapi/glapi_gentable.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-11-04 08:57:20 +0100
committermarha <marha@users.sourceforge.net>2011-11-04 08:57:20 +0100
commit02f377d5e2dd18537d0807ad63675a0970b5a37d (patch)
tree1814c826db4d95a30ad71431d9c84b8d2611ec18 /mesalib/src/mapi/glapi/glapi_gentable.c
parent6f4feafd4d22beaabfb0202e66b0dea9047ee084 (diff)
downloadvcxsrv-02f377d5e2dd18537d0807ad63675a0970b5a37d.tar.gz
vcxsrv-02f377d5e2dd18537d0807ad63675a0970b5a37d.tar.bz2
vcxsrv-02f377d5e2dd18537d0807ad63675a0970b5a37d.zip
xserver pixman mesa git update 4 nov 2011
Diffstat (limited to 'mesalib/src/mapi/glapi/glapi_gentable.c')
-rw-r--r--mesalib/src/mapi/glapi/glapi_gentable.c42
1 files changed, 42 insertions, 0 deletions
diff --git a/mesalib/src/mapi/glapi/glapi_gentable.c b/mesalib/src/mapi/glapi/glapi_gentable.c
index 27d1f861b..e6e841d5d 100644
--- a/mesalib/src/mapi/glapi/glapi_gentable.c
+++ b/mesalib/src/mapi/glapi/glapi_gentable.c
@@ -6373,6 +6373,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);