util: fix util_clear_render_target and util_clear_depth_stencil layer handling
authorRoland Scheidegger <sroland@vmware.com>
Fri, 7 Jun 2013 19:10:59 +0000 (21:10 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 7 Jun 2013 19:15:01 +0000 (21:15 +0200)
commitb47d13f4255b9708ff52fa80c11fabe53540cdea
tree0dc8bd2e8132c81489a4926fca1ee766e4173524
parent201d7a352b29d127053b7dccb18db26918056fc1
util: fix util_clear_render_target and util_clear_depth_stencil layer handling

These functions must clear all bound layers, not just the first.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/util/u_surface.c