Skip to content

Commit 96c09a5

Browse files
committed
ScreenshotManager: update for mutter50
1 parent 9dac06a commit 96c09a5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/ScreenshotManager.vala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,9 @@ public class Gala.ScreenshotManager : Object {
574574
image.get_data (),
575575
image.get_stride (),
576576
Cogl.PixelFormat.BGRA_8888_PRE,
577+
#if HAS_MUTTER50
578+
null,
579+
#endif
577580
paint_flags
578581
);
579582
} else {
@@ -583,6 +586,9 @@ public class Gala.ScreenshotManager : Object {
583586
image.get_data (),
584587
image.get_stride (),
585588
Cogl.PixelFormat.ARGB_8888_PRE,
589+
#if HAS_MUTTER50
590+
null,
591+
#endif
586592
paint_flags
587593
);
588594
}

0 commit comments

Comments
 (0)