r300: temporary occlusion query hack

This commit is contained in:
Maciej Cencora
2009-06-11 16:10:20 +02:00
parent 8d60c0b751
commit f3e1d7d6f8
+1 -1
View 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)