projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
183709c
)
Fix high-depth handling
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 22 Sep 2022 00:47:26 +0000
(20:47 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 22 Sep 2022 00:47:26 +0000
(20:47 -0400)
We mark this flag as always available, but we
were only checking it in debug builds.
gdk/gdkdrawcontext.c
patch
|
blob
|
history
diff --git
a/gdk/gdkdrawcontext.c
b/gdk/gdkdrawcontext.c
index 5e64ec32f98e89f38203e26a0a415c2cab7fc5ee..8c27e938c051b69f13511c092ce33afca5e5bf10 100644
(file)
--- a/
gdk/gdkdrawcontext.c
+++ b/
gdk/gdkdrawcontext.c
@@
-364,7
+364,7
@@
gdk_draw_context_begin_frame_full (GdkDrawContext *context,
return;
}
- if (
GDK_DISPLAY_DEBUG_CHECK (priv->display, HIGH_DEPTH)
)
+ if (
gdk_display_get_debug_flags (priv->display) & GDK_DEBUG_HIGH_DEPTH
)
prefers_high_depth = TRUE;
priv->frame_region = cairo_region_copy (region);