i965: Simplify the renderbuffer setup code.
authorEric Anholt <eric@anholt.net>
Wed, 5 Jan 2011 18:04:34 +0000 (10:04 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 5 Jan 2011 18:28:10 +0000 (10:28 -0800)
commit332a90e1015f0e1be4fb441e2d34e91f6bba812f
treed459ce11c86a559b1856cd290307ac7958827861
parentc7c1e5338cd4d47168fd2654ae951955578bef8d
i965: Simplify the renderbuffer setup code.

It was quite a mess by trying to do NULL renderbuffers and real
renderbuffers in the same function.  This clarifies the common case of
real renderbuffers.
src/mesa/drivers/dri/i965/brw_wm_surface_state.c