dri/nv04: Fix PGRAPH_ERRORs when running OA.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user