hw/xwin: Correct function name in log message
Correct function name in log message winInitializeDefaultScreens -> winInitializeScreenDefaults Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
9cdd3ed074
commit
df7636dddb
|
@ -101,14 +101,15 @@ winInitializeScreenDefaults(void)
|
|||
int dpiY = GetDeviceCaps(hdc, LOGPIXELSY);
|
||||
|
||||
winErrorFVerb(2,
|
||||
"winInitializeDefaultScreens - native DPI x %d y %d\n",
|
||||
"winInitializeScreenDefaults - native DPI x %d y %d\n",
|
||||
dpiX, dpiY);
|
||||
|
||||
monitorResolution = dpiY;
|
||||
ReleaseDC(NULL, hdc);
|
||||
}
|
||||
else {
|
||||
winErrorFVerb(1,
|
||||
"winInitializeDefaultScreens - Failed to retrieve native DPI, falling back to default of %d DPI\n",
|
||||
"winInitializeScreenDefaults - Failed to retrieve native DPI, falling back to default of %d DPI\n",
|
||||
WIN_DEFAULT_DPI);
|
||||
monitorResolution = WIN_DEFAULT_DPI;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user