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:
parent
2482384312
commit
3290240600
@ -784,7 +784,7 @@ _cogl_winsys_texture_pixmap_x11_free (CoglTexturePixmapX11 *tex_pixmap)
|
|||||||
|
|
||||||
static CoglBool
|
static CoglBool
|
||||||
_cogl_winsys_texture_pixmap_x11_update (CoglTexturePixmapX11 *tex_pixmap,
|
_cogl_winsys_texture_pixmap_x11_update (CoglTexturePixmapX11 *tex_pixmap,
|
||||||
CoglBool right,
|
CoglTexturePixmapStereoMode stereo_mode,
|
||||||
CoglBool needs_mipmap)
|
CoglBool needs_mipmap)
|
||||||
{
|
{
|
||||||
if (needs_mipmap)
|
if (needs_mipmap)
|
||||||
@ -800,7 +800,7 @@ _cogl_winsys_texture_pixmap_x11_damage_notify (CoglTexturePixmapX11 *tex_pixmap)
|
|||||||
|
|
||||||
static CoglTexture *
|
static CoglTexture *
|
||||||
_cogl_winsys_texture_pixmap_x11_get_texture (CoglTexturePixmapX11 *tex_pixmap,
|
_cogl_winsys_texture_pixmap_x11_get_texture (CoglTexturePixmapX11 *tex_pixmap,
|
||||||
CoglBool right)
|
CoglTexturePixmapStereoMode stereo_mode)
|
||||||
{
|
{
|
||||||
CoglTexturePixmapEGL *egl_tex_pixmap = tex_pixmap->winsys;
|
CoglTexturePixmapEGL *egl_tex_pixmap = tex_pixmap->winsys;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user