llvmpipe: fix handling of 0 x 0 framebuffer size
authorBrian Paul <brianp@vmware.com>
Mon, 18 Feb 2013 17:11:54 +0000 (10:11 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 19 Feb 2013 14:19:19 +0000 (07:19 -0700)
commitdfbcb1849c2fd7b88425645839cb530ca6f3f8cc
tree820431ad3f2ccdd2a2cf03b35d470a4906f585c0
parente2091f64cb9ea79f3b51c353ed9facc03ec5690a
llvmpipe: fix handling of 0 x 0 framebuffer size

Bump up the size to 1 x 1.  This fixes a number of potential failure
points in the code.

See also http://bugs.freedesktop.org/show_bug.cgi?id=61012
src/gallium/drivers/llvmpipe/lp_texture.c