pixels/src
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
..
builder.rs Update wgpu to 0.8 (#160) 2021-05-07 23:52:11 -07:00
lib.rs Validate width and height inputs (#162) 2021-05-08 17:26:21 -07:00
renderers.rs Update wgpu to 0.8 (#160) 2021-05-07 23:52:11 -07:00