We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 901a290 commit d023745Copy full SHA for d023745
Nu/Nu/Sdl/Sdl.fs
@@ -119,7 +119,7 @@ module SdlDeps =
119
let tryMake sdlConfig accompanied (windowSize : Vector2i) =
120
match attemptPerformSdlInit
121
(fun () ->
122
- SDL.SDL_SetHint (SDL.SDL_HINT_VIDEO_HIGHDPI_DISABLED, "1") |> ignore<SDL.SDL_bool>
+ SDL.SDL_SetHint ("SDL_WINDOWS_DPI_AWARENESS", "system") |> ignore<SDL.SDL_bool>
123
SDL.SDL_SetHint (SDL.SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4, "1") |> ignore<SDL.SDL_bool>
124
let initConfig =
125
SDL.SDL_INIT_TIMER |||
0 commit comments