[mutter/wip/garnacho/wayland-emulated-output-transform: 6/15] clutter/cogl: Use the "onscreen" on ClutterStageCogl
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/garnacho/wayland-emulated-output-transform: 6/15] clutter/cogl: Use the "onscreen" on ClutterStageCogl
- Date: Mon, 8 Aug 2016 11:59:37 +0000 (UTC)
commit 6b41b26c1d8da09b75d5eb20fdc6374ca40fbd79
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Aug 6 19:06:38 2016 +0200
clutter/cogl: Use the "onscreen" on ClutterStageCogl
It is where buffer swapping happens.
https://bugzilla.gnome.org/show_bug.cgi?id=745079
clutter/clutter/cogl/clutter-stage-cogl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter/cogl/clutter-stage-cogl.c b/clutter/clutter/cogl/clutter-stage-cogl.c
index 58979f1..6bf2f7b 100644
--- a/clutter/clutter/cogl/clutter-stage-cogl.c
+++ b/clutter/clutter/cogl/clutter-stage-cogl.c
@@ -357,7 +357,7 @@ swap_framebuffer (ClutterStageWindow *stage_window,
cairo_rectangle_int_t *swap_region,
gboolean swap_with_damage)
{
- CoglFramebuffer *framebuffer = clutter_stage_view_get_framebuffer (view);
+ CoglFramebuffer *framebuffer = clutter_stage_view_get_onscreen (view);
int damage[4], ndamage;
damage[0] = swap_region->x;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]