Jay Oster
5a96eea6ba
Handle all wgpu::SurfaceError variants ( #348 )
...
This fixes error handling for all `wgpu::SurfaceError` variants. It also adds more context to error messages printed by the examples.
Closes #346
2023-03-21 07:16:51 -07:00
Jay Oster
899e27bafa
Remove get_ and set_ prefixes from public APIs ( #341 )
...
This renames:
- `get_frame` to `frame`
- `get_frame_mut` to `frame_mut`
- `set_clear_color` to `clear_color`
Which more closely follows convention set by the standard library et al.
2023-03-09 19:42:57 -08:00
Jay Oster
bf296a455e
Remove unused dependencies (cargo-machete) ( #331 )
...
* Add cargo-machete to CI Lints
2023-01-09 10:47:42 -08:00
Jay Oster
6f4fa6c967
Fix invalid texture sizes ( #250 )
...
- Makes methods fallible when they create textures.
- Correctly handle window resize in fltk example.
- TODO: tests
- Closes #240
2022-12-17 20:21:28 -08:00
Jay Oster
5c2985f1b6
Update all dependencies in the workspace ( #323 )
2022-12-17 17:35:02 -08:00
Jeffrey Rosenbluth
bc8235fdb1
Add tiny-skia example ( #317 )
...
* tiny skia example
* image
* remove unnecessary let binding
2022-11-15 11:47:28 -08:00