From: Brian Date: Tue, 15 Apr 2008 02:55:14 +0000 (-0600) Subject: gallium: fix PIPE_CAP_MAX_RENDER_TARGETS query X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fdd794dcfa33482bdabe7c04ec9df655e0c69bfc;p=mesa.git gallium: fix PIPE_CAP_MAX_RENDER_TARGETS query --- diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index 1850a1ced33..7dacb1c4613 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: