diff options
author | Eric Anholt <[email protected]> | 2007-12-16 12:09:22 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2007-12-16 12:09:22 -0800 |
commit | 1daf5b3ad6460f33870b9f016a6615c5f1f8aa5e (patch) | |
tree | 320252c48c203c8ee7c461e157f68ad4916fcdc4 | |
parent | cbed2e4adde58815650e5f1397a6fbfe7923a664 (diff) |
[965] Fully initialize the texture surface key data (padding around GLboolean)
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c index 048e098cfb2..f940cea4cd1 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c @@ -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; |