renderer&guest_gpu: minor cleanup

This commit is contained in:
nmzik committed 2026-08-18 03:53:44 +02:00
1 parent c759236ccb
commit 146253afb6
8 files changed
+130 -189

No files matched your search

+1 -1
View File
@@ -1794,7 +1794,7 @@ public:
gpu_thread = std::this_thread::get_id();
Require("GpuCommandLane", "FIFO", order == 1,
"synchronous command overtook an older host command");
Require("GpuCommandLane", "GPU context", Gpu::IsGpuThread(),
Require("GpuCommandLane", "GPU context", GuestGpu::IsGpuThread(),
"host command did not run on the GPU thread");
gpu.SendCommandSync(
[&nested_thread] { nested_thread = std::this_thread::get_id(); });