diff options
author | delphi <[email protected]> | 2010-10-10 00:31:16 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-10-10 08:40:11 +0100 |
commit | 08f890d4c3b8376d1840f90474f7c56329432d95 (patch) | |
tree | 135d9b47adc27a0fcca7feb997258762aa8f1560 /src/gallium/auxiliary/draw/draw_context.c | |
parent | 25bb05fef075a87ec6e5f2a989049faff2afedd2 (diff) |
draw: some changes to allow for runtime changes to userclip planes
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 b07de76a498..c52234d8e31 100644 --- a/src/gallium/auxiliary/draw/draw_context.c +++ b/src/gallium/auxiliary/draw/draw_context.c @@ -335,6 +335,7 @@ draw_set_mapped_constant_buffer(struct draw_context *draw, case PIPE_SHADER_VERTEX: draw->pt.user.vs_constants[slot] = buffer; draw->pt.user.vs_constants_size[slot] = size; + draw->pt.user.planes = (float (*) [12][4]) &(draw->plane[0]); draw_vs_set_constants(draw, slot, buffer, size); break; case PIPE_SHADER_GEOMETRY: |