summaryrefslogtreecommitdiff
path: root/src/mesa/softpipe/sp_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/softpipe/sp_state.h')
-rw-r--r--src/mesa/softpipe/sp_state.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/softpipe/sp_state.h b/src/mesa/softpipe/sp_state.h
index d69f9cd164..f8521beed3 100644
--- a/src/mesa/softpipe/sp_state.h
+++ b/src/mesa/softpipe/sp_state.h
@@ -81,8 +81,10 @@ struct softpipe_scissor_rect {
};
+#define SP_MAX_CLIP_PLANES 6
+
struct softpipe_clip_state {
- GLfloat ucp[6][4];
+ GLfloat ucp[SP_MAX_CLIP_PLANES][4];
GLuint nr;
};