forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
285ebd58a8
commit
9e5fc16307
@ -925,13 +925,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
|
||||
|
Loading…
Reference in New Issue
Block a user