summaryrefslogtreecommitdiff
path: root/src/effects/gaussian_blur_effect.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/gaussian_blur_effect.cc')
-rw-r--r--src/effects/gaussian_blur_effect.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/effects/gaussian_blur_effect.cc b/src/effects/gaussian_blur_effect.cc
index 657c283..adb094c 100644
--- a/src/effects/gaussian_blur_effect.cc
+++ b/src/effects/gaussian_blur_effect.cc
@@ -68,9 +68,7 @@ void GaussianBlurEffect::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};