projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa: rework texture completeness testing
[mesa.git]
/
src
/
mesa
/
swrast
/
s_chan.h
diff --git
a/src/mesa/swrast/s_chan.h
b/src/mesa/swrast/s_chan.h
index 94ac8b65be181cb6626a518a2dabb14422064d3a..1db7fae4dff894124ac125c2d349ac7e351b2219 100644
(file)
--- a/
src/mesa/swrast/s_chan.h
+++ b/
src/mesa/swrast/s_chan.h
@@
-35,6
+35,14
@@
#include "main/config.h"
+/**
+ * Default bits per color channel: 8, 16 or 32
+ */
+#ifndef CHAN_BITS
+#define CHAN_BITS 8
+#endif
+
+
/**
* Color channel data type.
*/