mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
[965] Fully initialize the texture surface key data (padding around GLboolean)
This commit is contained in:
parent
cbed2e4add
commit
1daf5b3ad6
1 changed files with 1 additions and 0 deletions
|
|
@ -203,6 +203,7 @@ brw_update_texture_surface( GLcontext *ctx, GLuint unit )
|
|||
struct gl_texture_image *firstImage = tObj->Image[0][intelObj->firstLevel];
|
||||
struct brw_wm_surface_key key;
|
||||
|
||||
memset(&key, 0, sizeof(key));
|
||||
key.target = tObj->Target;
|
||||
key.format = firstImage->TexFormat->MesaFormat;
|
||||
key.bo = intelObj->mt->region->buffer;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue