[965] Fully initialize the texture surface key data (padding around GLboolean)

This commit is contained in:
Eric Anholt 2007-12-16 12:09:22 -08:00
parent cbed2e4add
commit 1daf5b3ad6

View file

@ -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;