Commit 51645b58 authored by LRN's avatar LRN

GDK W32: Remove unneeded assertion

Just set check_for_dpi_awareness = TRUE and eventually it will be handled
correctly, even if setDpiAwareFunc() returns E_ACCESSDENIED or shcore functions
are NULL.

https://bugzilla.gnome.org/show_bug.cgi?id=777031
parent 074f391f
......@@ -934,13 +934,9 @@ _gdk_win32_enable_hidpi (GdkWin32Display *display)
break;
}
}
/* Should not get here! */
if (status == DPI_STATUS_PENDING)
else
{
g_assert_not_reached ();
display->dpi_aware_type = PROCESS_DPI_UNAWARE;
status = DPI_STATUS_FAILED;
check_for_dpi_awareness = TRUE;
}
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment