From: Brian Paul Date: Thu, 1 May 2008 00:21:10 +0000 (-0600) Subject: gallium: fix texture border removal bug X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21989edd55409d72ee55187f4f9062496ca3fbf8;p=mesa.git gallium: fix texture border removal bug --- diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 3d9c550d8c1..981246221b1 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -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; }