mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-05 00:00:09 -04:00
Common: Make HookableEvent use non-static data.
Co-authored-by: Dentomologist <dentomologist@gmail.com>
This commit is contained in:
@@ -46,8 +46,8 @@ bool ShaderCache::Initialize()
|
||||
return false;
|
||||
|
||||
m_async_shader_compiler = g_gfx->CreateAsyncShaderCompiler();
|
||||
m_frame_end_handler = AfterFrameEvent::Register([this](Core::System&) { RetrieveAsyncShaders(); },
|
||||
"RetrieveAsyncShaders");
|
||||
m_frame_end_handler = GetVideoEvents().after_frame_event.Register(
|
||||
[this](Core::System&) { RetrieveAsyncShaders(); }, "RetrieveAsyncShaders");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user