Skip to content

Commit ff13ee5

Browse files
committed
greater map timeout
1 parent cc1be09 commit ff13ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zig/lib.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ pub export fn _zwgpuCopyTextureAndMap(workaround: *ZWGPUWorkaroundCopyTextureAnd
584584
i += 1;
585585
zwgpuInstanceProcessEvents(workaround.instance);
586586
std.time.sleep(10000);
587-
if (i > 100) {
587+
if (i > 2000) {
588588
// std.debug.print("Map not ready after 100 iterations\n", .{});
589589
zwgpuBufferUnmap(workaround.readback_buffer);
590590
return;

0 commit comments

Comments
 (0)