gallium: fix texture border removal bug
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 1 May 2008 00:21:10 +0000 (18:21 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 1 May 2008 00:21:10 +0000 (18:21 -0600)
src/mesa/state_tracker/st_cb_texture.c

index 3d9c550..9812462 100644 (file)
@@ -494,6 +494,10 @@ st_TexImage(GLcontext * ctx,
       strip_texture_border(border, &width, &height, &depth,
                            unpack, &unpackNB);
       unpack = &unpackNB;
+      texImage->Width = width;
+      texImage->Height = height;
+      texImage->Depth = depth;
+      texImage->Border = 0;
       border = 0;
    }