[gtk+] vulkan: fix a clip handling problem
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] vulkan: fix a clip handling problem
- Date: Sat, 23 Sep 2017 02:18:29 +0000 (UTC)
commit b192120f39206a546de7190901e79a62133b56aa
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Sep 22 18:48:36 2017 -0400
vulkan: fix a clip handling problem
We were looking at uninitialized memory here, instead
of the type of the source clip, as we should.
This showed up as mispositioned clip in the first frame
of a crossfade stack transition, and also as overdraw in
sliding stack transitions.
gsk/gskvulkanclip.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gsk/gskvulkanclip.c b/gsk/gskvulkanclip.c
index 9a3ad86..e7696e6 100644
--- a/gsk/gskvulkanclip.c
+++ b/gsk/gskvulkanclip.c
@@ -133,7 +133,7 @@ gsk_vulkan_clip_transform (GskVulkanClip *dest,
const graphene_matrix_t *transform,
const graphene_rect_t *viewport)
{
- switch (dest->type)
+ switch (src->type)
{
default:
g_assert_not_reached();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]