mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
compositor: Update to latest cogl API
See https://git.gnome.org/browse/cogl/commit/?id=c76c1d136d2cac7f3d1331a4d1dc0dd0f06e812c https://bugzilla.gnome.org/show_bug.cgi?id=719557
This commit is contained in:
parent
9c5733caf0
commit
6c12c928df
@ -111,7 +111,7 @@ update_area (MetaSurfaceActor *self,
|
||||
if (shm_buffer)
|
||||
{
|
||||
CoglTexture2D *texture = COGL_TEXTURE_2D (priv->buffer->texture);
|
||||
cogl_wayland_texture_2d_update_area (texture, shm_buffer, x, y, width, height);
|
||||
cogl_wayland_texture_set_region_from_shm_buffer (texture, x, y, width, height, shm_buffer, 0, 0, 0, NULL);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user