Browse Source

Update vendor/wgpu/examples/sdl2/main.odin

Co-authored-by: Laytan <[email protected]>
Emir 1 year ago
parent
commit
e55d09bdfa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vendor/wgpu/examples/sdl2/main.odin

+ 1 - 1
vendor/wgpu/examples/sdl2/main.odin

@@ -53,7 +53,7 @@ main :: proc() {
 		}
 		}
 		state.device = device 
 		state.device = device 
 
 
-		width, height : u32 = 800, 600 // os_get_render_bounds(&state.os)
+		width, height := os_get_render_bounds(&state.os)
 
 
 		state.config = wgpu.SurfaceConfiguration {
 		state.config = wgpu.SurfaceConfiguration {
 			device      = state.device,
 			device      = state.device,