diff options
author | Marek Olšák <[email protected]> | 2010-07-21 20:31:39 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-07-21 22:54:34 +0200 |
commit | 9ca48de1068d4ebce81853d29455c83b4898e25e (patch) | |
tree | b4aba8b55759b2350403de85fbcbf0f362d8c430 /src/gallium/auxiliary/draw/draw_context.c | |
parent | c304869ec02793f2d8bf363d1e3b37c3d121cca7 (diff) |
draw: disable depth clipping if depth clamp is enabled
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_context.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c index aac1ed602c7..c127f741881 100644 --- a/src/gallium/auxiliary/draw/draw_context.c +++ b/src/gallium/auxiliary/draw/draw_context.c @@ -216,6 +216,7 @@ void draw_set_clip_state( struct draw_context *draw, assert(clip->nr <= PIPE_MAX_CLIP_PLANES); memcpy(&draw->plane[6], clip->ucp, clip->nr * sizeof(clip->ucp[0])); draw->nr_planes = 6 + clip->nr; + draw->depth_clamp = clip->depth_clamp; } |