From: Luca Barbieri Date: Mon, 12 Apr 2010 18:43:08 +0000 (+0200) Subject: nvfx: fix compile error X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2ddae0fc3afcf52f79ab9ceb7d84342eb3dd612;p=mesa.git nvfx: fix compile error --- 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: