mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-17 13:11:07 +00:00
Update os_sdl2.odin
This commit is contained in:
6
vendor/wgpu/examples/sdl2/os_sdl2.odin
vendored
6
vendor/wgpu/examples/sdl2/os_sdl2.odin
vendored
@@ -21,11 +21,11 @@ os_init :: proc(os: ^OS) {
|
||||
|
||||
window_flags: sdl2.WindowFlags = {.SHOWN, .ALLOW_HIGHDPI, .RESIZABLE}
|
||||
os.window = sdl2.CreateWindow(
|
||||
"wgpu triangle",
|
||||
"WGPU Native Triangle",
|
||||
sdl2.WINDOWPOS_CENTERED,
|
||||
sdl2.WINDOWPOS_CENTERED,
|
||||
800,
|
||||
600,
|
||||
960,
|
||||
540,
|
||||
window_flags,
|
||||
)
|
||||
if os.window == nil {
|
||||
|
||||
Reference in New Issue
Block a user