renderer&guest_gpu: minor cleanup

This commit is contained in:
nmzik
2026-08-17 11:27:49 +02:00
parent c759236ccb
commit 146253afb6
8 changed files with 130 additions and 189 deletions
+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(); });