diff options
Diffstat (limited to 'src/gpu')
| -rw-r--r-- | src/gpu/gpu.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gpu/gpu.h b/src/gpu/gpu.h index 876aa84..41eeb29 100644 --- a/src/gpu/gpu.h +++ b/src/gpu/gpu.h @@ -66,12 +66,7 @@ inline void gpu_init_color_attachment(WGPURenderPassColorAttachment& attachment, attachment.loadOp = WGPULoadOp_Clear; attachment.storeOp = WGPUStoreOp_Store; attachment.clearValue = {0.0f, 0.0f, 0.0f, 1.0f}; -#if defined(DEMO_CROSS_COMPILE_WIN32) - // depthSlice is handled via macro in platform.h if needed, - // but usually it's better to just avoid setting it on older wgpu-native -#else attachment.depthSlice = WGPU_DEPTH_SLICE_UNDEFINED; -#endif } // Texture creation helper |
