mesa: move depth/stencil buffer validation to swrast
authorBrian Paul <brianp@vmware.com>
Sat, 10 Dec 2011 18:44:43 +0000 (11:44 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 13 Dec 2011 13:45:37 +0000 (06:45 -0700)
commit6e1228976b6ff91492b2fc338282e21404870d26
tree55d978e60b46ea1b615eab6224e0e5b3e2f9ee54
parent2ac02ea29fad959d1011513bf7e90da875ba675b
mesa: move depth/stencil buffer validation to swrast

Since gl_framebuffer::_DepthBuffer and _StencilBuffer are only used
by swrast, do the validation of those fields in swrast too.
The main/depthstencil.[ch] code is no longer used and will be removed
next.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/framebuffer.c
src/mesa/swrast/s_context.c