mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-11-24 02:43:35 +00:00
Merge pull request #2347 from lioncash/trunc
video_core/gpu_thread: Silence truncation warning in ThreadManager's constructor
This commit is contained in:
commit
41890a84be
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ ThreadManager::ThreadManager(Core::System& system, VideoCore::RendererBase& rend
|
||||||
Tegra::DmaPusher& dma_pusher)
|
Tegra::DmaPusher& dma_pusher)
|
||||||
: system{system}, thread{RunThread, std::ref(renderer), std::ref(dma_pusher), std::ref(state)} {
|
: system{system}, thread{RunThread, std::ref(renderer), std::ref(dma_pusher), std::ref(state)} {
|
||||||
synchronization_event = system.CoreTiming().RegisterEvent(
|
synchronization_event = system.CoreTiming().RegisterEvent(
|
||||||
"GPUThreadSynch", [this](u64 fence, int) { state.WaitForSynchronization(fence); });
|
"GPUThreadSynch", [this](u64 fence, s64) { state.WaitForSynchronization(fence); });
|
||||||
}
|
}
|
||||||
|
|
||||||
ThreadManager::~ThreadManager() {
|
ThreadManager::~ThreadManager() {
|
||||||
|
|
Loading…
Reference in a new issue