mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-02 13:00:53 +00:00
use correct flag defines
This commit is contained in:
parent
b50c6182b9
commit
e8581396cc
@ -14,11 +14,9 @@ class Application {
|
||||
return .exitFailure
|
||||
}
|
||||
|
||||
let sdlWindowResizable: SDL_WindowFlags = 0x0000000000000020
|
||||
let sdlWindowHighPixelDensity: SDL_WindowFlags = 0x0000000000002000
|
||||
window = SDL_CreateWindow("Voxelotl",
|
||||
Self.windowWidth, Self.windowHeight,
|
||||
sdlWindowResizable | sdlWindowHighPixelDensity)
|
||||
SDL_WindowFlags(SDL_WINDOW_RESIZABLE) | SDL_WindowFlags(SDL_WINDOW_HIGH_PIXEL_DENSITY))
|
||||
guard window != nil else {
|
||||
print("SDL_CreateWindow() error: \(String(cString: SDL_GetError()))")
|
||||
return .exitFailure
|
||||
|
Loading…
Reference in New Issue
Block a user