summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_context.c
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2010-05-12 10:14:02 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2010-05-12 10:16:19 -0700
commit5f161261c70d680c6b227bbf84735348af0973c6 (patch)
tree14cd04ab53857f66c3b1485651120910a4132b60 /src/gallium/drivers/r300/r300_context.c
parent3bb1724f3796ad799a93c319e03eae48c0114f1e (diff)
r300g: Correct viewport setup for SW TCL.
glxgears now renders in the right place on-screen, although it is still rather...psychedelic.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.c')
-rw-r--r--src/gallium/drivers/r300/r300_context.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c
index e84bce0010..0444fdac7d 100644
--- a/src/gallium/drivers/r300/r300_context.c
+++ b/src/gallium/drivers/r300/r300_context.c
@@ -201,9 +201,6 @@ struct pipe_context* r300_create_context(struct pipe_screen* screen,
draw_set_rasterize_stage(r300->draw, r300_draw_stage(r300));
/* Enable Draw's clipping. */
draw_set_driver_clipping(r300->draw, FALSE);
- /* Force Draw to never do viewport transform, since we can do
- * transform in hardware, always. */
- draw_set_viewport_state(r300->draw, &r300_viewport_identity);
}
r300_setup_atoms(r300);