fixing webgpu backend ?

This commit is contained in:
2025-08-26 16:47:31 +02:00
parent 62a0322a65
commit 75304ab8bc
3 changed files with 7 additions and 7 deletions

View File

@@ -148,7 +148,7 @@ void WebGPUUnmapBuffer(PulseBuffer buffer)
if(webgpu_buffer->current_map_mode == PULSE_MAP_WRITE)
{
wgpuQueueWriteBuffer(webgpu_device->queue, webgpu_buffer->buffer, 0, webgpu_buffer->map, buffer->size);
WebGPUDeviceTick(buffer->device);
WebGPUDeviceTick(buffer->device); // Wait for buffer writing to commplete
free(webgpu_buffer->map);
}
else