diff options
author | Lioncash <mathew1800@gmail.com> | 2015-12-30 14:52:01 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-12-30 14:52:01 +0100 |
commit | 5e17a586da5e01ac037203b45a19dc0da839e868 (patch) | |
tree | df3d942ea9730a53d2597cad0b8c86cd31321d6b /src/video_core/video_core.h | |
parent | Merge pull request #1306 from Subv/sync (diff) | |
download | yuzu-5e17a586da5e01ac037203b45a19dc0da839e868.tar yuzu-5e17a586da5e01ac037203b45a19dc0da839e868.tar.gz yuzu-5e17a586da5e01ac037203b45a19dc0da839e868.tar.bz2 yuzu-5e17a586da5e01ac037203b45a19dc0da839e868.tar.lz yuzu-5e17a586da5e01ac037203b45a19dc0da839e868.tar.xz yuzu-5e17a586da5e01ac037203b45a19dc0da839e868.tar.zst yuzu-5e17a586da5e01ac037203b45a19dc0da839e868.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/video_core.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/video_core.h b/src/video_core/video_core.h index 2867bf03e..accb0a4eb 100644 --- a/src/video_core/video_core.h +++ b/src/video_core/video_core.h @@ -5,6 +5,7 @@ #pragma once #include <atomic> +#include <memory> class EmuWindow; class RendererBase; @@ -29,8 +30,8 @@ static const int kScreenBottomHeight = 240; ///< 3DS bottom screen height // Video core renderer // --------------------- -extern RendererBase* g_renderer; ///< Renderer plugin -extern EmuWindow* g_emu_window; ///< Emu window +extern std::unique_ptr<RendererBase> g_renderer; ///< Renderer plugin +extern EmuWindow* g_emu_window; ///< Emu window // TODO: Wrap these in a user settings struct along with any other graphics settings (often set from qt ui) extern std::atomic<bool> g_hw_renderer_enabled; |