From: Xavier Chantry Date: Sat, 20 Nov 2010 21:51:12 +0000 (+0100) Subject: nvfx: only expose one rt on nv30 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e1bf946316ff99feaa3f2e85f70b45bd9a77ade;p=mesa.git nvfx: only expose one rt on nv30 We do not know how to use more, GL_ARB_draw_buffers is not exposed on blob. --- diff --git a/src/gallium/drivers/nvfx/nvfx_screen.c b/src/gallium/drivers/nvfx/nvfx_screen.c index 8bf0907a080..d7553e9f399 100644 --- a/src/gallium/drivers/nvfx/nvfx_screen.c +++ b/src/gallium/drivers/nvfx/nvfx_screen.c @@ -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: