st/mesa: don't try to allocate zero-sized renderbuffers
authorBrian Paul <brianp@vmware.com>
Tue, 29 Nov 2011 01:00:35 +0000 (18:00 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 29 Nov 2011 01:10:30 +0000 (18:10 -0700)
commit68564726898308c9fd7ac63169bfc2e2012d6fe3
tree60bc00a08f9c4130b8dfd86cb4e2a012f282e6b2
parent8f15c31338e4c0e105ddc602773682375395b00b
st/mesa: don't try to allocate zero-sized renderbuffers

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=43047
and https://bugs.freedesktop.org/show_bug.cgi?id=43048

Note: This is a candidate for the 7.11 branch.

Tested-by: Vinson Lee <vlee@vmware.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_cb_fbo.c