r300: temporary occlusion query hack
authorMaciej Cencora <m.cencora@gmail.com>
Thu, 11 Jun 2009 14:10:20 +0000 (16:10 +0200)
committerMaciej Cencora <m.cencora@gmail.com>
Sat, 15 Aug 2009 13:14:24 +0000 (15:14 +0200)
src/mesa/drivers/dri/r300/r300_state.c

index 050e8cd2a7daf35ffb4f1676135ac3d55b25d80b..f39d7460b20d7e7f99ef7abaa34673d5b12992ae 100644 (file)
@@ -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)