diff options
author | Aapo Tahkola <aet@rasterburn.org> | 2005-02-08 07:05:25 +0000 |
---|---|---|
committer | Aapo Tahkola <aet@rasterburn.org> | 2005-02-08 07:05:25 +0000 |
commit | 46cde1715f29dddf5d0a41d8c91ee117208d9685 (patch) | |
tree | 6870894e031d2eb1919bc9462d856a5651af0199 /src/mesa/drivers/dri/r300/r300_render.c | |
parent | d084982240bafba0169c4a6cacf02d45d6cfd8c1 (diff) |
BIG FAT NOTE: Theres a nasty bug somewhere thats causing vb color buffer clears and other things not to work. This bug can be triggered by extending struct r300_hw_state by two struct r300_state_atom's from its current size. Everything zbs and unk42B4 related is now covered with HAVE_ZBS and GA ifdefs. Who wants to fix it? Not i. :)
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_render.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_render.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_render.c b/src/mesa/drivers/dri/r300/r300_render.c index c6d57a3551..cbe7d91d1a 100644 --- a/src/mesa/drivers/dri/r300/r300_render.c +++ b/src/mesa/drivers/dri/r300/r300_render.c @@ -58,9 +58,10 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #include "r300_emit.h" -#if 0 + +#ifdef HAVE_ZBS /* Turns out we might not need this after all... */ -static void update_zbias(GLcontext * ctx, int prim) +void update_zbias(GLcontext * ctx, int prim) { r300ContextPtr rmesa = R300_CONTEXT(ctx); int enabled = 0; @@ -690,7 +691,7 @@ static GLboolean r300_run_render(GLcontext *ctx, #if 1 - #if 1 + #if 0 return r300_run_immediate_render(ctx, stage); #else |