nvfx: fix compile error
authorLuca Barbieri <luca@luca-barbieri.com>
Mon, 12 Apr 2010 18:43:08 +0000 (20:43 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Mon, 12 Apr 2010 18:43:26 +0000 (20:43 +0200)
src/gallium/drivers/nvfx/nvfx_screen.c

index 55bcf6abca0ab68fa097d3d754ca44008937b196..9236c8d256a0a6670af25f25ec4bc573b23a6ada 100644 (file)
@@ -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: