summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichal <[email protected]>2009-03-16 06:06:31 +0100
committerMichal Krol <[email protected]>2009-03-16 08:17:59 +0100
commitf6c3edb308316483b64d93b912bee670eac9f5ad (patch)
tree2f037aaaca12860cc045bd3304abf587d5ac30f6
parentf197a8b9166f7d40c7f1ddd800054d6274ec1c24 (diff)
python: Use new bypass_vs_clip_and_viewport rasteriser flag.
-rw-r--r--src/gallium/state_trackers/python/st_device.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/python/st_device.c b/src/gallium/state_trackers/python/st_device.c
index a2cd25067d2..65cfa7f46fc 100644
--- a/src/gallium/state_trackers/python/st_device.c
+++ b/src/gallium/state_trackers/python/st_device.c
@@ -192,8 +192,7 @@ st_context_create(struct st_device *st_dev)
memset(&rasterizer, 0, sizeof(rasterizer));
rasterizer.front_winding = PIPE_WINDING_CW;
rasterizer.cull_mode = PIPE_WINDING_NONE;
- rasterizer.bypass_clipping = 1;
- /*rasterizer.bypass_vs = 1;*/
+ rasterizer.bypass_vs_clip_and_viewport = 1;
cso_set_rasterizer(st_ctx->cso, &rasterizer);
}