add in High DPI support (aka Retina)

- based on J?rgen's patch with a few bug fixes
This commit is contained in:
Edward Rudd committed 2013-09-20 13:43:00 -04:00
1 parent 0103bc0bff
commit 869a707612
12 files changed
+134 -11

No files matched your search

+5
View File
@@ -257,6 +257,11 @@ extern "C" {
#define SDL_HINT_TIMER_RESOLUTION "SDL_TIMER_RESOLUTION"
/**
* \brief If set to 1, then do not allow high-DPI windows. ("Retina" on Mac)
*/
#define SDL_HINT_VIDEO_HIGHDPI_DISABLED "SDL_HIGHDPI_DISABLED"
/**
* \brief An enumeration of hint priorities