From c20df5b3e16eba790b7419d2338600c7b4a0e79d Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 11 Aug 2017 22:00:44 +0200 Subject: vo_opengl: hwdec_ios: fix build --- video/out/opengl/hwdec_ios.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out') diff --git a/video/out/opengl/hwdec_ios.m b/video/out/opengl/hwdec_ios.m index ec6eb422d6..8e020ded63 100644 --- a/video/out/opengl/hwdec_ios.m +++ b/video/out/opengl/hwdec_ios.m @@ -189,7 +189,7 @@ static void mapper_unmap(struct ra_hwdec_mapper *mapper) static int mapper_map(struct ra_hwdec_mapper *mapper) { struct priv *p = mapper->priv; - GL *gl = ra_gl_get(hw->ra); + GL *gl = ra_gl_get(mapper->ra); CVPixelBufferRelease(p->pbuf); p->pbuf = (CVPixelBufferRef)mapper->src->planes[3]; -- cgit v1.2.3