diff options
author | Brian Paul <[email protected]> | 2008-04-30 18:21:10 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-04-30 18:21:10 -0600 |
commit | 21989edd55409d72ee55187f4f9062496ca3fbf8 (patch) | |
tree | ce5a8d76f79424a7ff8accbefc298facebeb57a4 /src/mesa/state_tracker | |
parent | 54f94a790e4488445347abcff9a636a9c440d7f9 (diff) |
gallium: fix texture border removal bug
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |