fixing webgpu backend ?

This commit is contained in:
2025-08-26 16:20:46 +02:00
parent 16bfeb27f4
commit 62a0322a65
2 changed files with 3 additions and 2 deletions

View File

@@ -148,6 +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);
free(webgpu_buffer->map);
}
else