Skip to content

Commit dd13487

Browse files
committed
fixing MemWrite casts
1 parent cf81651 commit dd13487

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

public/tracy/TracyWebGPU.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,8 +525,8 @@ namespace tracy
525525
MemWrite(&item->gpuNewContext.thread, static_cast<uint32_t>(0));
526526
MemWrite(&item->gpuNewContext.period, static_cast<float>(period));
527527
MemWrite(&item->gpuNewContext.context, static_cast<uint8_t>(GetId()));
528-
MemWrite(&item->gpuNewContext.flags, static_cast<uint8_t>(0)); // no calibration available
529-
MemWrite(&item->gpuNewContext.type, static_cast<uint8_t>(GpuContextType::WebGPU));
528+
MemWrite(&item->gpuNewContext.flags, GpuContextFlags(0)); // no calibration available
529+
MemWrite(&item->gpuNewContext.type, GpuContextType::WebGPU);
530530
SubmitQueueItem(item);
531531
}
532532

0 commit comments

Comments
 (0)