nvfx: only expose one rt on nv30
authorXavier Chantry <chantry.xavier@gmail.com>
Sat, 20 Nov 2010 21:51:12 +0000 (22:51 +0100)
committerPatrice Mandin <patmandin@gmail.com>
Sat, 20 Nov 2010 22:29:12 +0000 (23:29 +0100)
We do not know how to use more, GL_ARB_draw_buffers is not exposed on blob.

src/gallium/drivers/nvfx/nvfx_screen.c

index 8bf0907a08052cc3fff3c465c93656763619bd0e..d7553e9f399984fd7d4e681b4dc0871da99a5384 100644 (file)
@@ -37,7 +37,7 @@ nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
        case PIPE_CAP_POINT_SPRITE:
                return 1;
        case PIPE_CAP_MAX_RENDER_TARGETS:
-               return screen->use_nv4x ? 4 : 2;
+               return screen->use_nv4x ? 4 : 1;
        case PIPE_CAP_OCCLUSION_QUERY:
                return 1;
         case PIPE_CAP_TIMER_QUERY: