VideoCommon/AsyncRequests: Remove now unnecessary SetEnable function. Requests are now always enabled. Call SetPassthrough on initialization to not be racy.
This commit is contained in:
1 parent
6416b0a6ec
commit
700abd68e3
4 files changed
+2
-25
No files matched your search
@@ -457,6 +457,8 @@ static void FifoPlayerThread(Core::System& system, const std::optional<std::stri
|
||||
const auto init_video = [&] {
|
||||
DeclareAsGPUThread();
|
||||
|
||||
AsyncRequests::GetInstance()->SetPassthrough(!system.IsDualCoreMode());
|
||||
|
||||
// Must happen on the proper thread for some video backends, e.g. OpenGL.
|
||||
return g_video_backend->Initialize(wsi);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user