diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-08 17:23:52 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-08 17:23:52 +0100 |
| commit | 41b64071beba9dd62a2a8f4e915ea104605a4964 (patch) | |
| tree | 96e72f2ff6da2b17b304714486cd2741d75a31f9 /assets/final/shaders/particle_render.wgsl | |
| parent | 45f942ea79647be9f05fe1fe43548b030d191d45 (diff) | |
fix(3d): Handle user_data meshes in visual debug wireframe rendering
- Check user_data before calling GetMeshAsset() in renderer_draw.cc
- Prevents crash when rendering manually loaded OBJ meshes with --debug
- Remove duplicate wireframe call in test_mesh.cc (now handled by renderer)
- Keep add_mesh_normals() call (not auto-handled by renderer)
Fixes: Bus error when running 'test_mesh house.obj --debug'
Root cause: GetMeshAsset(0) on non-asset meshes
Test: All 32 tests pass, test_mesh works with --debug flag
Diffstat (limited to 'assets/final/shaders/particle_render.wgsl')
0 files changed, 0 insertions, 0 deletions
