From 3290240600c98e7a07228a59acd682f08936d7d7 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 10 Jun 2015 15:20:17 +0100 Subject: [PATCH] egl-x11: Fix compiler warnings Stereo mode changed two fields in the winsys vtable, so we need to update the signature of the implementation in the EGL-X11 winsys. --- cogl/winsys/cogl-winsys-egl-x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogl/winsys/cogl-winsys-egl-x11.c b/cogl/winsys/cogl-winsys-egl-x11.c index 0e55d419e..0e935d9b1 100644 --- a/cogl/winsys/cogl-winsys-egl-x11.c +++ b/cogl/winsys/cogl-winsys-egl-x11.c @@ -784,7 +784,7 @@ _cogl_winsys_texture_pixmap_x11_free (CoglTexturePixmapX11 *tex_pixmap) static CoglBool _cogl_winsys_texture_pixmap_x11_update (CoglTexturePixmapX11 *tex_pixmap, - CoglBool right, + CoglTexturePixmapStereoMode stereo_mode, CoglBool needs_mipmap) { if (needs_mipmap) @@ -800,7 +800,7 @@ _cogl_winsys_texture_pixmap_x11_damage_notify (CoglTexturePixmapX11 *tex_pixmap) static CoglTexture * _cogl_winsys_texture_pixmap_x11_get_texture (CoglTexturePixmapX11 *tex_pixmap, - CoglBool right) + CoglTexturePixmapStereoMode stereo_mode) { CoglTexturePixmapEGL *egl_tex_pixmap = tex_pixmap->winsys;