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