diff options
Diffstat (limited to 'src/gpu/effect.cc')
| -rw-r--r-- | src/gpu/effect.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/effect.cc b/src/gpu/effect.cc index 0e53862..752dd84 100644 --- a/src/gpu/effect.cc +++ b/src/gpu/effect.cc @@ -49,8 +49,8 @@ void Effect::blit_input_to_output(WGPUCommandEncoder encoder, GpuTextureCopyInfo dst_copy = { .texture = dst, .mipLevel = 0, .origin = {0, 0, 0}}; - WGPUExtent3D extent = {static_cast<unsigned int>(width_), - static_cast<unsigned int>(height_), 1}; + WGPUExtent3D extent = {(unsigned int)(width_), + (unsigned int)(height_), 1}; wgpuCommandEncoderCopyTextureToTexture(encoder, &src_copy, &dst_copy, &extent); |
