From ae645b83fc9dc4a49a55a52f9ff4202c62afbba6 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 14 Aug 2013 17:27:53 -0700 Subject: nouveau: Fix variable name. Fixes build error introduced with commit d1ba1055d98c246d1ee9d9c14706bb9fba6a98c7. CC nouveau_video.lo nouveau_video.c: In function 'nouveau_screen_get_video_param': nouveau_video.c:866:33: error: 'screen' undeclared (first use in this function) nouveau_video.c:866:33: note: each undeclared identifier is reported only once for each function it appear Signed-off-by: Vinson Lee --- src/gallium/drivers/nouveau/nouveau_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/nouveau/nouveau_video.c b/src/gallium/drivers/nouveau/nouveau_video.c index 1563b224360..5c4ec0faf65 100644 --- a/src/gallium/drivers/nouveau/nouveau_video.c +++ b/src/gallium/drivers/nouveau/nouveau_video.c @@ -863,7 +863,7 @@ nouveau_screen_get_video_param(struct pipe_screen *pscreen, case PIPE_VIDEO_CAP_SUPPORTS_PROGRESSIVE: return true; case PIPE_VIDEO_CAP_MAX_LEVEL: - return vl_level_supported(screen, profile); + return vl_level_supported(pscreen, profile); default: debug_printf("unknown video param: %d\n", param); return 0; -- cgit v1.2.3