From 6a04cff065c9a28495fe515fb5d9cd159d53de71 Mon Sep 17 00:00:00 2001 From: Aapo Tahkola Date: Tue, 8 Feb 2005 19:26:59 +0000 Subject: Fix the bug and get zbias back into shape. There might still be some problems with initial zbias... --- src/mesa/drivers/dri/r300/r300_render.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/mesa/drivers/dri/r300/r300_render.c') diff --git a/src/mesa/drivers/dri/r300/r300_render.c b/src/mesa/drivers/dri/r300/r300_render.c index cbe7d91d1a..1b4f74c4e8 100644 --- a/src/mesa/drivers/dri/r300/r300_render.c +++ b/src/mesa/drivers/dri/r300/r300_render.c @@ -58,8 +58,6 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #include "r300_emit.h" - -#ifdef HAVE_ZBS /* Turns out we might not need this after all... */ void update_zbias(GLcontext * ctx, int prim) { @@ -115,7 +113,6 @@ void update_zbias(GLcontext * ctx, int prim) } } -#endif /********************************************************************** * Hardware rasterization @@ -664,7 +661,7 @@ static GLboolean r300_run_vb_render(GLcontext *ctx, end_3d(PASS_PREFIX_VOID); /* Flush state - we are done drawing.. */ - r300FlushCmdBufLocked(ctx, __FUNCTION__); + r300FlushCmdBufLocked(rmesa, __FUNCTION__); radeonWaitForIdleLocked(&(rmesa->radeon)); UNLOCK_HARDWARE(&(rmesa->radeon)); @@ -692,7 +689,6 @@ static GLboolean r300_run_render(GLcontext *ctx, #if 1 #if 0 - return r300_run_immediate_render(ctx, stage); #else return r300_run_vb_render(ctx, stage); -- cgit v1.2.3