forked from AuroraMiddleware/gtk
Merge branch 'gtk-3-24-fix-runtime-assertions' into 'gtk-3-24'
Prevent Quartz/CoreGraphics runtime assertion failures. (GTK 3) See merge request GNOME/gtk!1442
This commit is contained in:
commit
63b061684d
@ -191,8 +191,11 @@ static void
|
||||
gdk_window_impl_quartz_release_context (GdkWindowImplQuartz *window_impl,
|
||||
CGContextRef cg_context)
|
||||
{
|
||||
CGContextRestoreGState (cg_context);
|
||||
CGContextSetAllowsAntialiasing (cg_context, TRUE);
|
||||
if (cg_context)
|
||||
{
|
||||
CGContextRestoreGState (cg_context);
|
||||
CGContextSetAllowsAntialiasing (cg_context, TRUE);
|
||||
}
|
||||
|
||||
/* See comment in gdk_quartz_window_get_context(). */
|
||||
if (window_impl->in_paint_rect_count == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user