summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvfx/nvfx_context.c
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-02-23 15:05:54 +0100
committerLuca Barbieri <luca@luca-barbieri.com>2010-04-12 12:13:16 +0200
commit5c89cb0f6cfe30d5b15a57179ad16c0f209ff47e (patch)
tree47e54cb18376a19a7060186a3b7fbb79c7da022e /src/gallium/drivers/nvfx/nvfx_context.c
parent6558797f99b7ac9b6247d4fcfd5b926eff32d1a4 (diff)
nvfx: so->RING_3D: scissor
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_context.c')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_context.c b/src/gallium/drivers/nvfx/nvfx_context.c
index 31c3e2bc39..eabf9ae7a0 100644
--- a/src/gallium/drivers/nvfx/nvfx_context.c
+++ b/src/gallium/drivers/nvfx/nvfx_context.c
@@ -83,5 +83,7 @@ nvfx_create(struct pipe_screen *pscreen, void *priv)
draw_enable_point_sprites(nvfx->draw, FALSE);
draw_set_rasterize_stage(nvfx->draw, nvfx_draw_render_stage(nvfx));
+ /* set these to that we init them on first validation */
+ nvfx->state.scissor_enabled = ~0;
return &nvfx->pipe;
}