summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_render.c
diff options
context:
space:
mode:
authorAapo Tahkola <aet@rasterburn.org>2005-02-08 19:26:59 +0000
committerAapo Tahkola <aet@rasterburn.org>2005-02-08 19:26:59 +0000
commit6a04cff065c9a28495fe515fb5d9cd159d53de71 (patch)
treed725a9a439f257577d6fec990992a18631a7f000 /src/mesa/drivers/dri/r300/r300_render.c
parent3dec3c7a74035bc85eab31a3c442e362d41ffe6d (diff)
Fix the bug and get zbias back into shape. There might still be some problems with initial zbias...
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_render.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_render.c6
1 files changed, 1 insertions, 5 deletions
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);