pixels/examples
Jay Oster cdcfe57868
Validate width and height inputs (#162)
* Validate width and height inputs

- Fixes #157

* Add window size check to `imgui-winit` demo

- There is really nothing better that can be done in this case.
- The surface, buffer, and world sizes must all be non-zero.
- A zero-length surface would (previously) panic in `wgpu`.
- A zero-length buffer would panic with the new assertions.
- A zero-length world would cause a divide-by-zero panic when drawing.
2021-05-08 17:26:21 -07:00
..
conway Rename resize to resize_surface (#149) 2021-03-09 04:15:24 -08:00
custom-shader Update wgpu to 0.8 (#160) 2021-05-07 23:52:11 -07:00
egui-winit Update wgpu to 0.8 (#160) 2021-05-07 23:52:11 -07:00
imgui-winit Validate width and height inputs (#162) 2021-05-08 17:26:21 -07:00
invaders Various fixes (#154) 2021-03-29 00:52:43 -07:00
minimal-fltk Update wgpu to 0.8 (#160) 2021-05-07 23:52:11 -07:00
minimal-sdl2 Rename resize to resize_surface (#149) 2021-03-09 04:15:24 -08:00
minimal-winit Rename resize to resize_surface (#149) 2021-03-09 04:15:24 -08:00
raqote-winit Rename resize to resize_surface (#149) 2021-03-09 04:15:24 -08:00