[gtk] gl renderer: Fix only_translation check
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] gl renderer: Fix only_translation check
- Date: Sun, 2 Dec 2018 15:18:02 +0000 (UTC)
commit 538491efa1d0124176c005ff33fb6e8b27378b94
Author: Timm Bäder <mail baedert org>
Date: Thu Nov 29 15:39:14 2018 +0100
gl renderer: Fix only_translation check
gsk/gl/gskglrenderops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/gl/gskglrenderops.c b/gsk/gl/gskglrenderops.c
index 85026d8e63..21dbb59029 100644
--- a/gsk/gl/gskglrenderops.c
+++ b/gsk/gl/gskglrenderops.c
@@ -83,7 +83,7 @@ extract_matrix_metadata (const graphene_matrix_t *m,
}
out:
- md->only_translation = (md->simple && md->scale_x == 0 && md->scale_y == 0);
+ md->only_translation = (md->simple && md->scale_x == 1 && md->scale_y == 1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]