diff options
| author | skal <pascal.massimino@gmail.com> | 2026-01-31 13:57:51 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-01-31 13:57:51 +0100 |
| commit | e3daca37aa134a6885c8ae5c508c3d7f7bfc600a (patch) | |
| tree | 69578c5e3376603219bc341e8975e289cede9bdd /src/gpu/gpu.h | |
| parent | 3af9f70bec1f50c980288e2213035693f4b737ce (diff) | |
Add Windows cross-compilation support (MinGW) and emulation (Wine)
Diffstat (limited to 'src/gpu/gpu.h')
| -rw-r--r-- | src/gpu/gpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gpu.h b/src/gpu/gpu.h index 58b0307..a78c433 100644 --- a/src/gpu/gpu.h +++ b/src/gpu/gpu.h @@ -42,7 +42,7 @@ struct ResourceBinding { // WGPUBufferBindingType_Storage }; -GpuBuffer gpu_create_buffer(size_t size, WGPUBufferUsage usage, +GpuBuffer gpu_create_buffer(size_t size, uint32_t usage, const void *data = nullptr); ComputePass gpu_create_compute_pass(const char *shader_code, ResourceBinding *bindings, |
