gallium: fix PIPE_CAP_MAX_RENDER_TARGETS query
authorBrian <brian.paul@tungstengraphics.com>
Tue, 15 Apr 2008 02:55:14 +0000 (20:55 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 15 Apr 2008 02:55:14 +0000 (20:55 -0600)
src/gallium/drivers/softpipe/sp_screen.c

index 1850a1ced3379163153880d6da3825ad0650d972..7dacb1c461378ca5c104935789d5c8749d047c0c 100644 (file)
@@ -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: