Skip to content

Commit

Permalink
Remove SDL_WINDOW_ALLOW_HIGHDPI as a default flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew McWatters authored and Andrew McWatters committed Mar 30, 2018
1 parent 977d4cc commit de96e5f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lua/framework/window.lua
Expand Up @@ -19,8 +19,7 @@ function createWindow( title, x, y, width, height, flags, glattrs )
y = y or SDL.SDL_WINDOWPOS_UNDEFINED

local defaultFlags = bit.bor(
ffi.C.SDL_WINDOW_OPENGL,
ffi.C.SDL_WINDOW_ALLOW_HIGHDPI
ffi.C.SDL_WINDOW_OPENGL
)
flags = bit.bor( defaultFlags, flags or 0 )

Expand Down

0 comments on commit de96e5f

Please sign in to comment.