diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-16 21:53:18 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-16 21:53:18 +0100 |
| commit | c791e709bb4fc20a5d8937023ac1bf4f808b8f1b (patch) | |
| tree | 071ef042099392dc6fceb5914e62abd1a2477d9c /tools | |
| parent | 08069d65cea269aec6d19c4d99f9f38138e6c962 (diff) | |
refactor: remove WIN32 platform checks from seq_compiler.py
- Remove #if !defined(DEMO_CROSS_COMPILE_WIN32) guards
- platform.h included transitively handles depthSlice compatibility
- Regenerate timeline.cc with cleaned output
- Tests: 34/34 passing
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/seq_compiler.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/seq_compiler.py b/tools/seq_compiler.py index 70faf5b..361aa63 100755 --- a/tools/seq_compiler.py +++ b/tools/seq_compiler.py @@ -603,9 +603,7 @@ void RenderTimeline(WGPUSurface surface, float time, int width, int height, // Clear source WGPURenderPassColorAttachment clear_attach = {}; clear_attach.view = g_source_view; -#if !defined(DEMO_CROSS_COMPILE_WIN32) clear_attach.depthSlice = WGPU_DEPTH_SLICE_UNDEFINED; -#endif clear_attach.loadOp = WGPULoadOp_Clear; clear_attach.storeOp = WGPUStoreOp_Store; clear_attach.clearValue = {0.0, 0.0, 0.0, 1.0}; @@ -630,9 +628,7 @@ void RenderTimeline(WGPUSurface surface, float time, int width, int height, blit_attach.view = surface_texture.texture ? wgpuTextureCreateView(surface_texture.texture, nullptr) : nullptr; -#if !defined(DEMO_CROSS_COMPILE_WIN32) blit_attach.depthSlice = WGPU_DEPTH_SLICE_UNDEFINED; -#endif blit_attach.loadOp = WGPULoadOp_Clear; blit_attach.storeOp = WGPUStoreOp_Store; blit_attach.clearValue = {0.0, 0.0, 0.0, 1.0}; |
