[gtk] gl renderer: Fix push/pop modelview behavior
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] gl renderer: Fix push/pop modelview behavior
- Date: Sat, 29 Jun 2019 07:07:53 +0000 (UTC)
commit 6b42e5b433a8fcecaf8d0b0cc173ccbb909b6c24
Author: Timm Bäder <mail baedert org>
Date: Sat Jun 29 08:57:27 2019 +0200
gl renderer: Fix push/pop modelview behavior
gsk/gl/gskglrenderops.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/gsk/gl/gskglrenderops.c b/gsk/gl/gskglrenderops.c
index a3e4e8675e..b23e8c5cde 100644
--- a/gsk/gl/gskglrenderops.c
+++ b/gsk/gl/gskglrenderops.c
@@ -339,9 +339,12 @@ ops_set_modelview_internal (RenderOpBuilder *builder,
RenderOp op;
graphene_matrix_t matrix;
+#if 0
+ XXX This is not possible if we want pop() to work.
if (builder->current_program &&
gsk_transform_equal (builder->current_program_state->modelview, transform))
return;
+#endif
gsk_transform_to_matrix (transform, &matrix);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]