aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/config.h')
-rw-r--r--mesalib/src/mesa/main/config.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/mesalib/src/mesa/main/config.h b/mesalib/src/mesa/main/config.h
index 91aef90b7..7b7740ebe 100644
--- a/mesalib/src/mesa/main/config.h
+++ b/mesalib/src/mesa/main/config.h
@@ -61,8 +61,11 @@
/** Maximum number of lights */
#define MAX_LIGHTS 8
-/** Maximum user-defined clipping planes */
-#define MAX_CLIP_PLANES 6
+/**
+ * Maximum number of user-defined clipping planes supported by any driver in
+ * Mesa. This is used to size arrays.
+ */
+#define MAX_CLIP_PLANES 8
/** Maximum pixel map lookup table size */
#define MAX_PIXEL_MAP_TABLE 256
@@ -329,7 +332,7 @@
/**
- * Bits per color channel: 8, 16 or 32
+ * For swrast, bits per color channel: 8, 16 or 32
*/
#ifndef CHAN_BITS
#define CHAN_BITS 8