util/surface: Always use the surface format when clearing.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 15 Nov 2012 14:19:55 +0000 (14:19 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 4 Dec 2012 19:35:18 +0000 (19:35 +0000)
commitc0e4ee9b27ad70cb5adb41158516c6951ed4ba36
tree0cfe511a10836a10a01155a7b36e8b2697322187
parent64f9916314aecaf2af4485162daf38c035f04d62
util/surface: Always use the surface format when clearing.

Not the texture format, as they might differ.

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