svga: fix crash when clearing null color buffer
authorBrian Paul <brianp@vmware.com>
Thu, 16 Jan 2014 21:53:27 +0000 (13:53 -0800)
committerBrian Paul <brianp@vmware.com>
Fri, 17 Jan 2014 16:52:37 +0000 (08:52 -0800)
commit3618ac4f202138079024ea6ed2cf7e2ef5463066
tree0102c1e7ff97e91bf4df368753a68c5932c90c2c
parentd6fa71fbb0d365cefdabfea9de62cfece71f7486
svga: fix crash when clearing null color buffer

Fixes regression since 9baa45f78b8ca7d66280e36009b6a685055d7cd6
but some of the piglit fbo-drawbuffers-none tests still don't
pass.

v2: use the right pointer type for 'h'

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/drivers/svga/svga_pipe_clear.c