summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-04-12 20:43:08 +0200
committerLuca Barbieri <[email protected]>2010-04-12 20:43:26 +0200
commita2ddae0fc3afcf52f79ab9ceb7d84342eb3dd612 (patch)
tree9c2f45be9c3cd90e6d421c018938fbc62beb14d3 /src/gallium
parent6d6acaebad86241dd2f94db6476554346d5aec91 (diff)
nvfx: fix compile error
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_screen.c b/src/gallium/drivers/nvfx/nvfx_screen.c
index 55bcf6abca0..9236c8d256a 100644
--- a/src/gallium/drivers/nvfx/nvfx_screen.c
+++ b/src/gallium/drivers/nvfx/nvfx_screen.c
@@ -72,7 +72,7 @@ nvfx_screen_get_param(struct pipe_screen *pscreen, int param)
case NOUVEAU_CAP_HW_VTXBUF:
return !screen->force_swtnl;
case NOUVEAU_CAP_HW_IDXBUF:
- return !screen->force_swtnl && nvfx->screen->eng3d->grclass == NV40TCL;
+ return !screen->force_swtnl && screen->eng3d->grclass == NV40TCL;
case PIPE_CAP_MAX_COMBINED_SAMPLERS:
return 16;
case PIPE_CAP_INDEP_BLEND_ENABLE: