summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_context.c
diff options
context:
space:
mode:
authordelphi <tayhuiqithq@gmail.com>2010-10-10 00:31:16 +0100
committerKeith Whitwell <keithw@vmware.com>2010-10-10 08:40:11 +0100
commit08f890d4c3b8376d1840f90474f7c56329432d95 (patch)
tree135d9b47adc27a0fcca7feb997258762aa8f1560 /src/gallium/auxiliary/draw/draw_context.c
parent25bb05fef075a87ec6e5f2a989049faff2afedd2 (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.c1
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 b07de76a49..c52234d8e3 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: