forked from AuroraMiddleware/gtk
Fix high-depth handling
We mark this flag as always available, but we were only checking it in debug builds.
This commit is contained in:
parent
183709c522
commit
7785c18c56
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user