From d6b248652a7b2c9c3e83a5f2188ce0ac77176bf0 Mon Sep 17 00:00:00 2001 From: Maxim Levitsky Date: Tue, 10 May 2011 10:16:54 +0200 Subject: [PATCH] nv50: fix mistake in pipe caps for pre-NVA0 cards Introduced by 531b12af35a832bcd8928a4919d76f8e9405cde0. --- src/gallium/drivers/nv50/nv50_screen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c index 4dad8599870..a5a45a69284 100644 --- a/src/gallium/drivers/nv50/nv50_screen.c +++ b/src/gallium/drivers/nv50/nv50_screen.c @@ -89,6 +89,7 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_TEXTURE_SHADOW_MAP: case PIPE_CAP_NPOT_TEXTURES: case PIPE_CAP_ANISOTROPIC_FILTER: + return 1; case PIPE_CAP_SEAMLESS_CUBE_MAP: return nv50_screen(pscreen)->tesla->grclass >= NVA0_3D; case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE: -- 2.30.2