(libui) Add more logging

This commit is contained in:
twinaphex 2017-07-03 20:19:20 +02:00
parent e5d930ae0a
commit 87c94982c2

View File

@ -75,10 +75,16 @@ const char *uiInit(uiInitOptions *o)
hDefaultIcon = LoadIconW(NULL, IDI_APPLICATION);
if (hDefaultIcon == NULL)
{
RARCH_ERR("error loading default icon for window classes\n"):
return ieLastErr("loading default icon for window classes");
}
hDefaultCursor = LoadCursorW(NULL, IDC_ARROW);
if (hDefaultCursor == NULL)
{
RARCH_ERR("error loading default cursor for window classes\n"):
return ieLastErr("loading default cursor for window classes");
}
RARCH_LOG("Initializing initUtilWindow.\n");
ce = initUtilWindow(hDefaultIcon, hDefaultCursor);