Просмотр исходного кода

Fixed the name of the environment variable to match the name of the hint.

Sam Lantinga 12 лет назад
Родитель
Сommit
3ef5a97706
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      include/SDL_hints.h

+ 1 - 1
include/SDL_hints.h

@@ -260,7 +260,7 @@ extern "C" {
 /**
 /**
  *  \brief If set to 1, then do not allow high-DPI windows. ("Retina" on Mac)
  *  \brief If set to 1, then do not allow high-DPI windows. ("Retina" on Mac)
  */
  */
-#define SDL_HINT_VIDEO_HIGHDPI_DISABLED "SDL_HIGHDPI_DISABLED"
+#define SDL_HINT_VIDEO_HIGHDPI_DISABLED "SDL_VIDEO_HIGHDPI_DISABLED"
 
 
 
 
 /**
 /**