[mutter/wip/garnacho/wayland-emulated-output-transform: 21/30] 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: 21/30] clutter/cogl: Use the "onscreen" on ClutterStageCogl
- Date: Mon, 8 Aug 2016 11:21:37 +0000 (UTC)
commit 8ecbcc881db6aea1554bc8a69ee841dcac0e1ec1
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.
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]