intel: When validating an FBO's combined depth/stencil, use the given FBO.
authorEric Anholt <eric@anholt.net>
Tue, 4 Jan 2011 18:00:51 +0000 (10:00 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 4 Jan 2011 18:04:19 +0000 (10:04 -0800)
commitb7b2791c6bea6ad0db76fdad9a217aa1efffea93
tree270df22b91f0d88f80bebc3d5c55b0537813ea4e
parent0ea49380e20bdf76cd0e434d3d431ca9f526f1f1
intel: When validating an FBO's combined depth/stencil, use the given FBO.

We were looking at the current draw buffer instead to see whether the
depth/stencil combination matched.  So you'd get told your framebuffer
was complete, until you bound it and went to draw and we decided that
it was incomplete.
src/mesa/drivers/dri/intel/intel_fbo.c