diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-04-14 20:55:14 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-04-14 20:55:14 -0600 |
commit | fdd794dcfa33482bdabe7c04ec9df655e0c69bfc (patch) | |
tree | ea53f48eff946404baedf2a703fa4517e547137b /src/gallium/drivers/softpipe/sp_screen.c | |
parent | 01c7dd2629d161bf87af679a3045e1e2d54259fc (diff) |
gallium: fix PIPE_CAP_MAX_RENDER_TARGETS query
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_screen.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_screen.c | 2 |
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: |