SDL-mirror/src
Sam Lantinga 1e764330e5 Fixed display mode calculations for applications which are not DPI aware.
If your application wants to have access to the full resolution even when the system has DPI scaling enabled, call SetProcessDPIAware() before calling SDL_Init()

e.g.
	typedef BOOL (WINAPI *SetProcessDPIAware_t)(void);
	HMODULE hMod = LoadLibrary("user32.dll");
	if ( hMod ) {
		SetProcessDPIAware_t pSetProcessDPIAware = GetProcAddress( hMod, "SetProcessDPIAware" );
		if ( pSetProcessDPIAware ) {
			pSetProcessDPIAware();
		}
		FreeLibrary( hMod );
	}
2013-12-30 12:49:15 -08:00
..
atomic Fixed bug 2129 - fix for bug 2121 breaks linking for mingw and throws multiple warnings 2013-10-20 21:56:15 -07:00
audio Renamed things named after BeOS to be named after Haiku instead. 2013-11-14 11:51:24 -05:00
core Switch back to apartment threaded COM initialization, which was the previous default. 2013-12-27 10:18:19 -08:00
cpuinfo Initialize MEMORYSTATUSEX size before GlobalMemoryStatusEx() (thanks, Justin!). 2013-10-23 19:52:14 -04:00
events Added a relative mouse mode that uses mouse warping instead of raw input. 2013-12-23 17:37:22 -08:00
file Fixed building using MinGW 2013-10-17 23:02:29 -07:00
filesystem Renamed things named after BeOS to be named after Haiku instead. 2013-11-14 11:51:24 -05:00
haptic Moved a SDL_SetError() call elsewhere to avoid triggering it needlessly. 2013-10-23 15:54:12 -04:00
joystick Changed return -1 after SDL_SetError() to return SDL_SetError(). 2013-12-25 17:02:15 +01:00
libm Hook up SDL_acos and SDL_asin properly. 2013-12-09 15:17:20 -05:00
loadso Renamed things named after BeOS to be named after Haiku instead. 2013-11-14 11:51:24 -05:00
main Fixed comment typo. 2013-11-14 20:24:40 -05:00
power Renamed things named after BeOS to be named after Haiku instead. 2013-11-14 11:51:24 -05:00
render Fixed float to int conversion warning, which was a legitimate bug. 2013-12-23 17:15:32 -08:00
stdlib Fixed bug 2050 - Obvious bugs in SDL_ltoa and SDL_lltoa 2013-12-11 21:17:24 -08:00
test Print events with SDL_Log() so they show up in Visual Studio debug output 2013-12-23 15:55:47 -08:00
thread Added SDL_DetachThread() API. 2013-11-14 00:52:39 -05:00
timer Renamed things named after BeOS to be named after Haiku instead. 2013-11-14 11:51:24 -05:00
video Fixed display mode calculations for applications which are not DPI aware. 2013-12-30 12:49:15 -08:00
SDL.c Renamed things named after BeOS to be named after Haiku instead. 2013-11-14 11:51:24 -05:00
SDL_assert.c Fixed building using MinGW 2013-10-17 23:02:29 -07:00
SDL_assert_c.h Removed SDL_AssertionsInit(). It's a no-op, let's keep it that way. :) 2013-08-07 11:00:44 -07:00
SDL_error.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_error_c.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_hints.c Christoph Mallon: Remove pointless if (x) before SDL_free(x) 2013-08-29 08:29:21 -07:00
SDL_log.c Fixed building using MinGW 2013-10-17 23:02:29 -07:00