mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 21:20:12 +01:00
gallium: fix texture border removal bug
This commit is contained in:
parent
54f94a790e
commit
21989edd55
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue