diff options
author | José Fonseca <[email protected]> | 2009-03-26 12:11:27 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-03-26 12:11:27 +0000 |
commit | a2f52f500cdff2ffd5aec039cafaaa3bc2273595 (patch) | |
tree | 5a7f5cf6e553512f8e9550a7a14e7ba40f8cbe9a /src/gallium/state_trackers/python | |
parent | 7138cd700997a353bfa127495b3f11adeab68940 (diff) |
python: Don't bypass vs/clip/viewport by default.
Diffstat (limited to 'src/gallium/state_trackers/python')
-rw-r--r-- | src/gallium/state_trackers/python/st_device.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/python/st_device.c b/src/gallium/state_trackers/python/st_device.c index b4f8649d3bc..8246b378ce0 100644 --- a/src/gallium/state_trackers/python/st_device.c +++ b/src/gallium/state_trackers/python/st_device.c @@ -192,10 +192,16 @@ 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_vs_clip_and_viewport = 1; cso_set_rasterizer(st_ctx->cso, &rasterizer); } + /* clip */ + { + struct pipe_clip_state clip; + memset(&clip, 0, sizeof(clip)); + st_ctx->pipe->set_clip_state(st_ctx->pipe, &clip); + } + /* identity viewport */ { struct pipe_viewport_state viewport; |