Browse Source

Update os_sdl2.odin

Emir 1 year ago
parent
commit
57dc6c2e94
1 changed files with 0 additions and 2 deletions
  1. 0 2
      vendor/wgpu/examples/sdl2/os_sdl2.odin

+ 0 - 2
vendor/wgpu/examples/sdl2/os_sdl2.odin

@@ -76,12 +76,10 @@ os_get_surface :: proc(os: ^OS, instance: wgpu.Instance) -> wgpu.Surface {
 
 
 @(private="file")
 @(private="file")
 size_callback :: proc "c" (userdata: rawptr, event: ^sdl2.Event) -> c.int {
 size_callback :: proc "c" (userdata: rawptr, event: ^sdl2.Event) -> c.int {
-	
 	if event.type == .WINDOWEVENT {
 	if event.type == .WINDOWEVENT {
 		if event.window.event == .SIZE_CHANGED || event.window.event == .RESIZED {
 		if event.window.event == .SIZE_CHANGED || event.window.event == .RESIZED {
 			resize()
 			resize()
 		}
 		}
 	}
 	}
-
 	return 0
 	return 0
 }
 }