Update os_sdl2.odin
This commit is contained in:
1 parent
57dc6c2e94
commit
ba81a81ca8
1 file changed
+3
-3
+3
-3
@@ -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