diff options
author | Francisco Jerez <[email protected]> | 2010-09-15 00:38:58 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2010-09-16 19:44:21 +0200 |
commit | aa317a40ced575024924ef5697fc0b96c76e3d90 (patch) | |
tree | a9a779a3d4f5afd4a32f3f5174c006698a39d52a /src | |
parent | c344f27539a93e885ddcb8ceb066d481a6cd60cf (diff) |
dri/nv04: Fix PGRAPH_ERRORs when running OA.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nv04_state_fb.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv04_state_fb.c b/src/mesa/drivers/dri/nouveau/nv04_state_fb.c index 5e5e0c58742..b9d232dbb80 100644 --- a/src/mesa/drivers/dri/nouveau/nv04_state_fb.c +++ b/src/mesa/drivers/dri/nouveau/nv04_state_fb.c @@ -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); } |