dri/nv04: Fix PGRAPH_ERRORs when running OA.

This commit is contained in:
Francisco Jerez
2010-09-15 00:38:58 +02:00
parent c344f27539
commit aa317a40ce
+5 -1
View File
@@ -110,7 +110,11 @@ nv04_emit_scissor(GLcontext *ctx, int emit)
OUT_RING(chan, w << 16 | x);
OUT_RING(chan, h << 16 | y);
/* Messing with surf3d invalidates some engine state. */
/* Messing with surf3d invalidates the engine state. */
context_dirty_i(ctx, TEX_ENV, 0);
context_dirty_i(ctx, TEX_ENV, 1);
context_dirty_i(ctx, TEX_OBJ, 0);
context_dirty_i(ctx, TEX_OBJ, 1);
context_dirty(ctx, CONTROL);
context_dirty(ctx, BLEND);
}