intel: move renderbuffer mapping to separate functions.
authorEric Anholt <eric@anholt.net>
Tue, 15 Jul 2008 21:26:19 +0000 (14:26 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 23 Jul 2008 17:21:24 +0000 (10:21 -0700)
commitbdaa06ad639821368ac8d1af7b7561fd7e83fb13
treec894b817fd304176edfbd6723e7bd2702c4761f4
parent99fe0c222c2853a612b73aa6fcffb0a532ce5747
intel: move renderbuffer mapping to separate functions.

This lets us avoid duplicated code for doing so, including the depthstencil
paths that aren't covered by SpanRenderStart/Finish.  Those paths were
missing the span funcs setup, leading to a null dereference in the fbotexture
demo.
src/mesa/drivers/dri/intel/intel_depthstencil.c
src/mesa/drivers/dri/intel/intel_span.c
src/mesa/drivers/dri/intel/intel_span.h