diff options
Diffstat (limited to 'src/effects/flash_effect.cc')
| -rw-r--r-- | src/effects/flash_effect.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/effects/flash_effect.cc b/src/effects/flash_effect.cc index f0566bb..1d0e629 100644 --- a/src/effects/flash_effect.cc +++ b/src/effects/flash_effect.cc @@ -63,9 +63,7 @@ void FlashEffect::render(WGPUCommandEncoder encoder, // Render pass WGPURenderPassColorAttachment color_attachment = {}; color_attachment.view = output_view; -#if !defined(DEMO_CROSS_COMPILE_WIN32) color_attachment.depthSlice = WGPU_DEPTH_SLICE_UNDEFINED; -#endif color_attachment.loadOp = WGPULoadOp_Clear; color_attachment.storeOp = WGPUStoreOp_Store; color_attachment.clearValue = {0.0, 0.0, 0.0, 1.0}; |
