video_core: Allow changing background color while emulation is running

As @jroweboy stated, this is just one more atomic in VideoCore.
This commit is contained in:
zhupengfei
2018-08-04 15:11:51 +08:00
parent 6bc87cdf3e
commit 0c37140690
4 changed files with 10 additions and 0 deletions

View File

@ -22,6 +22,7 @@ std::atomic<bool> g_shader_jit_enabled;
std::atomic<bool> g_hw_shader_enabled;
std::atomic<bool> g_hw_shader_accurate_gs;
std::atomic<bool> g_hw_shader_accurate_mul;
std::atomic<bool> g_renderer_bg_color_update_requested;
/// Initialize the video core
bool Init(EmuWindow* emu_window) {