intel: Fall back on any rendering to texture with no miptree.
authorEric Anholt <eric@anholt.net>
Wed, 20 May 2009 21:16:34 +0000 (14:16 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 21 May 2009 17:40:11 +0000 (10:40 -0700)
commite78a6aa2b94683faa8d43a39aa68d806b14f8833
tree4636c622a283ba3cde73e059ca3c1f86b314f924
parent8bba183b9eeb162661a287bf2e118c6dd419dd24
intel: Fall back on any rendering to texture with no miptree.

Fixes segfault on an fbo.c negative test for FBO with texture width/height
of 0.  Previously we just tested for border != 0 to work around this
segfault.
src/mesa/drivers/dri/intel/intel_fbo.c