summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMaxim Levitsky <[email protected]>2011-05-10 10:16:54 +0200
committerChristoph Bumiller <[email protected]>2011-05-10 10:16:54 +0200
commitd6b248652a7b2c9c3e83a5f2188ce0ac77176bf0 (patch)
tree8152ae99c54764f46c1c4c19f967da1f459837a0 /src/gallium/drivers
parent68074387a4af74e1b1b42908b23a4a7ca2c1efa4 (diff)
nv50: fix mistake in pipe caps for pre-NVA0 cards
Introduced by 531b12af35a832bcd8928a4919d76f8e9405cde0.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/nv50/nv50_screen.c1
1 files changed, 1 insertions, 0 deletions
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: