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 2013-09-20 13:43:00 -04:00
parent 0103bc0bff
commit 869a707612
12 changed files with 134 additions and 11 deletions

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