mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 15:00:57 +01:00
b0bf790a1710e32a6e17ca87daf457bba651cba5
823: Fix crash-on-resize in skybox example r=kvark a=danwilhelm Problem: Skybox example currently crashes on resize. - Solution: Now, recreates depth texture on resize event. --- Problem: Shadow example currently duplicates texture creation code on resize. - Solution: Now, shadow is refactored identically to skybox & water examples -- minimizes code duplication, makes examples more similar. Co-authored-by: Dan Wilhelm <dan@danwilhelm.com>
Languages
Rust
78.5%
WGSL
13%
GLSL
3.1%
Metal
2.8%
HLSL
2.3%
Other
0.2%