Merge pull request #4796 from lioncash/clang

core: Fix clang build
This commit is contained in:
LC
2020-10-20 19:19:12 -04:00
committed by GitHub
105 changed files with 906 additions and 667 deletions

View File

@ -247,7 +247,7 @@ void NVFlinger::Compose() {
guard->unlock();
for (u32 fence_id = 0; fence_id < multi_fence.num_fences; fence_id++) {
const auto& fence = multi_fence.fences[fence_id];
gpu.WaitFence(fence.id, fence.value);
gpu.WaitFence(static_cast<u32>(fence.id), fence.value);
}
guard->lock();