diff --git a/generator/templates/webgpu.h b/generator/templates/webgpu.h index 52005ac1e1..bae0a53e60 100644 --- a/generator/templates/webgpu.h +++ b/generator/templates/webgpu.h @@ -73,7 +73,7 @@ #include #include -const uint64_t WGPU_WHOLE_SIZE = 0xffffffffffffffffULL; // UINT64_MAX +#define WGPU_WHOLE_SIZE (0xffffffffffffffffULL) typedef uint32_t WGPUFlags;