Mercurial > hg > orthanc-stone
comparison Applications/Sdl/SdlWindow.cpp @ 662:794278160a3f
fix for msvc 2008
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 15 May 2019 11:07:28 +0200 |
parents | 002d9562c8f5 |
children |
comparison
equal
deleted
inserted
replaced
661:970949ff868a | 662:794278160a3f |
---|---|
57 windowFlags = SDL_WINDOW_RESIZABLE; | 57 windowFlags = SDL_WINDOW_RESIZABLE; |
58 rendererFlags = SDL_RENDERER_SOFTWARE; | 58 rendererFlags = SDL_RENDERER_SOFTWARE; |
59 } | 59 } |
60 | 60 |
61 // TODO: probably required on MacOS X, too | 61 // TODO: probably required on MacOS X, too |
62 #ifdef WIN32 | 62 #if defined(WIN32) && (_WIN32_WINNT >= 0x0600) |
63 if (!allowDpiScaling) | 63 if (!allowDpiScaling) |
64 { | 64 { |
65 // if we do NOT allow DPI scaling, it means an SDL pixel will be a real | 65 // if we do NOT allow DPI scaling, it means an SDL pixel will be a real |
66 // monitor pixel. This is needed for high-DPI applications | 66 // monitor pixel. This is needed for high-DPI applications |
67 | 67 |