aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_fbo.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-02-10 18:43:17 -0700
committerBrian Paul <[email protected]>2012-02-15 14:07:43 -0700
commitd9ae5db6e3aed724b81324c67074c2d792a2f2a5 (patch)
tree78a5f3431d3c42af25985cb23fb45b9a952b3669 /src/mesa/state_tracker/st_cb_fbo.c
parent2e12b4cfef79b81a68597ec1320754989b1c1fa4 (diff)
st/mesa: remove redundant memset(surface_template,0)
The subsequent u_surface_default_template() call does that for us. Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_cb_fbo.c')
-rw-r--r--src/mesa/state_tracker/st_cb_fbo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c
index 2e884a42619..19bbdc5bb42 100644
--- a/src/mesa/state_tracker/st_cb_fbo.c
+++ b/src/mesa/state_tracker/st_cb_fbo.c
@@ -148,7 +148,6 @@ st_renderbuffer_alloc_storage(struct gl_context * ctx,
if (!strb->texture)
return FALSE;
- memset(&surf_tmpl, 0, sizeof(surf_tmpl));
u_surface_default_template(&surf_tmpl, strb->texture, template.bind);
strb->surface = pipe->create_surface(pipe,
strb->texture,