[mutter/gbsneto/graphene-frustrum: 10/16] fixup! clutter/stage: Use graphene_frustum_t for clipping




commit f61051b901b2a1707c2699744a0e95fd95af3b36
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Oct 9 19:50:42 2020 -0300

    fixup! clutter/stage: Use graphene_frustum_t for clipping

 clutter/clutter/clutter-paint-volume.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/clutter/clutter/clutter-paint-volume.c b/clutter/clutter/clutter-paint-volume.c
index 83fed6044d..2047bf46e4 100644
--- a/clutter/clutter/clutter-paint-volume.c
+++ b/clutter/clutter/clutter-paint-volume.c
@@ -1091,7 +1091,7 @@ _clutter_paint_volume_cull (ClutterPaintVolume       *pv,
   /* Most actors are 2D so we only have to transform the front 4
    * vertices of the paint volume... */
   if (G_LIKELY (pv->is_2d))
-    max = &vertices[6];
+    max = &vertices[2];
   else
     max = &vertices[6];
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]