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.
This commit is contained in:
Emmanuele Bassi 2015-06-10 15:20:17 +01:00
parent 2482384312
commit 3290240600

View File

@ -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;