diff options
author | Brian Paul <[email protected]> | 2012-01-10 11:40:00 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-10 12:37:38 -0700 |
commit | d6533df90d53193dc868e873285456744f48fb4d (patch) | |
tree | 670305d15c0629b4560470567d67df2a8a6c7383 | |
parent | 2e87660ca6deba9ba866a8012cf82f41374b5adb (diff) |
st/mesa: remove unnecessary memset()/zero call
The u_surface_default_template() function does the memset()/zero now.
Jakob Bornecrantz <[email protected]>
-rw-r--r-- | src/mesa/state_tracker/st_manager.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c index c0af3ce118f..b83cb233961 100644 --- a/src/mesa/state_tracker/st_manager.c +++ b/src/mesa/state_tracker/st_manager.c @@ -222,7 +222,6 @@ st_framebuffer_validate(struct st_framebuffer *stfb, continue; } - memset(&surf_tmpl, 0, sizeof(surf_tmpl)); u_surface_default_template(&surf_tmpl, textures[i], PIPE_BIND_RENDER_TARGET); ps = st->pipe->create_surface(st->pipe, textures[i], &surf_tmpl); |