intel: Simplify renderbuffer-for-texture width setup.
authorEric Anholt <eric@anholt.net>
Mon, 22 Apr 2013 18:07:59 +0000 (11:07 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 6 May 2013 21:33:43 +0000 (14:33 -0700)
commit5b190d19d326369a5c43fbdd1f19d9c8d112da40
treeb8ab9245f0df79e44076b6a2910239113579f205
parent749a92786d378ee55cf9ebbbe8596c217fbae0f9
intel: Simplify renderbuffer-for-texture width setup.

We're looking for the logical width of our level, which is what
image->Width2/Height2 is.  The previous code relied on MSAA textures being
only level 0.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_fbo.c