summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-14 02:07:29 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-14 02:07:29 -0800
commit9a20ef0a52f8c4efd7431ccd59e32efecdc33893 (patch)
tree4fe09239dbb8432dd0e9788617435d041b76d51b
parent1c533bdeb6e2932120874754bb357790d4c923a8 (diff)
r300-gallium: Enable all four colorbuffer render targets.
As far as I can tell all the state emission necessary has been set up. Well, except for the fragment shader, but c'mon, gimme a break. :3
-rw-r--r--src/gallium/drivers/r300/r300_screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index 8ed66a1660..5088c13039 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -100,8 +100,7 @@ static int r300_get_param(struct pipe_screen* pscreen, int param)
/* IN THEORY */
return 0;
case PIPE_CAP_MAX_RENDER_TARGETS:
- /* XXX 4 eventually */
- return 1;
+ return 4;
case PIPE_CAP_OCCLUSION_QUERY:
/* IN THEORY */
return 0;