[cogl/cogl-1.20] egl-x11: Fix compiler warnings
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl-1.20] egl-x11: Fix compiler warnings
- Date: Wed, 10 Jun 2015 14:34:45 +0000 (UTC)
commit 3290240600c98e7a07228a59acd682f08936d7d7
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Jun 10 15:20:17 2015 +0100
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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/cogl/winsys/cogl-winsys-egl-x11.c b/cogl/winsys/cogl-winsys-egl-x11.c
index 0e55d41..0e935d9 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]