From adcd0fe9b465d04b593e4c573bdfc687bee9aacd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Mon, 25 Jul 2016 15:39:44 +0800 Subject: [PATCH] ClutterStageView: Initialize viewport/projection as dirty Initially the viewport and projection is not calculated and should thus be marked as dirty. https://bugzilla.gnome.org/show_bug.cgi?id=768976 --- clutter/clutter/clutter-stage-view.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/clutter/clutter/clutter-stage-view.c b/clutter/clutter/clutter-stage-view.c index 87d6102f5..8eb17b842 100644 --- a/clutter/clutter/clutter-stage-view.c +++ b/clutter/clutter/clutter-stage-view.c @@ -157,6 +157,11 @@ clutter_stage_view_dispose (GObject *object) static void clutter_stage_view_init (ClutterStageView *view) { + ClutterStageViewPrivate *priv = + clutter_stage_view_get_instance_private (view); + + priv->dirty_viewport = TRUE; + priv->dirty_projection = TRUE; } static void