summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-04-14 20:55:14 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-04-14 20:55:14 -0600
commitfdd794dcfa33482bdabe7c04ec9df655e0c69bfc (patch)
treeea53f48eff946404baedf2a703fa4517e547137b
parent01c7dd2629d161bf87af679a3045e1e2d54259fc (diff)
gallium: fix PIPE_CAP_MAX_RENDER_TARGETS query
-rw-r--r--src/gallium/drivers/softpipe/sp_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 1850a1ced3..7dacb1c461 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -68,7 +68,7 @@ softpipe_get_param(struct pipe_screen *screen, int param)
case PIPE_CAP_POINT_SPRITE:
return 1;
case PIPE_CAP_MAX_RENDER_TARGETS:
- return 1;
+ return PIPE_MAX_COLOR_BUFS;
case PIPE_CAP_OCCLUSION_QUERY:
return 1;
case PIPE_CAP_TEXTURE_SHADOW_MAP: