summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/config.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-03-11 17:00:39 -0600
committerBrian <[email protected]>2007-03-11 17:00:39 -0600
commit1c09bcfdda4083636a3ac27d804a34ef87875ce7 (patch)
tree9d97cdcff44f9a789e0bec8c15609d61c3db2d17 /src/mesa/main/config.h
parentd23dd812ad597ddbe82be5f95708ece9ad63a2fa (diff)
Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1.
GL_MAX_DRAW_BUFFERS is currently 4. Added gl_FragData[] output for fragment programs. In _swrast_write_rgba_span() loop over the color outputs/renderbuffers.
Diffstat (limited to 'src/mesa/main/config.h')
-rw-r--r--src/mesa/main/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index 00df084fc88..8ea2d2c615a 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -216,7 +216,7 @@
/** For GL_ARB_draw_buffers */
/*@{*/
-#define MAX_DRAW_BUFFERS 1
+#define MAX_DRAW_BUFFERS 4
/*@}*/