Mesa (master): nouveau: Fix variable name.

Vinson Lee vlee at kemper.freedesktop.org
Thu Aug 15 00:35:40 UTC 2013


Module: Mesa
Branch: master
Commit: ae645b83fc9dc4a49a55a52f9ff4202c62afbba6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae645b83fc9dc4a49a55a52f9ff4202c62afbba6

Author: Vinson Lee <vlee at freedesktop.org>
Date:   Wed Aug 14 17:27:53 2013 -0700

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 <vlee at freedesktop.org>

---

 src/gallium/drivers/nouveau/nouveau_video.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/nouveau/nouveau_video.c b/src/gallium/drivers/nouveau/nouveau_video.c
index 1563b22..5c4ec0f 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;




More information about the mesa-commit mailing list