summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Cencora <m.cencora@gmail.com>2009-06-11 16:10:20 +0200
committerMaciej Cencora <m.cencora@gmail.com>2009-08-15 15:14:24 +0200
commitf3e1d7d6f81f1b84e5cf83a1c7118067ba670f79 (patch)
tree74bd14aacbbddf7620dfbbb27cd2bec6464afb32
parent8d60c0b7514dad075e5d46448614e8e8c5c230a7 (diff)
downloadmesa-f3e1d7d6f81f1b84e5cf83a1c7118067ba670f79.tar.gz
r300: temporary occlusion query hack
-rw-r--r--src/mesa/drivers/dri/r300/r300_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c
index 050e8cd2a7d..f39d7460b20 100644
--- a/src/mesa/drivers/dri/r300/r300_state.c
+++ b/src/mesa/drivers/dri/r300/r300_state.c
@@ -462,7 +462,7 @@ static GLboolean current_fragment_program_writes_depth(GLcontext* ctx)
static void r300SetEarlyZState(GLcontext * ctx)
{
r300ContextPtr r300 = R300_CONTEXT(ctx);
- GLuint topZ = R300_ZTOP_ENABLE;
+ GLuint topZ = R300_ZTOP_DISABLE;
GLuint w_fmt, fgdepthsrc;
if (ctx->Color.AlphaEnabled && ctx->Color.AlphaFunc != GL_ALWAYS)