aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core/video_core.h
diff options
context:
space:
mode:
authortfarley <[email protected]>2015-05-18 21:21:33 -0700
committertfarley <[email protected]>2015-05-22 15:51:18 -0700
commit05dc633a8c35221ce8d6abe6ddf027f8b0bab6c2 (patch)
treed080c1efd3b928bda551cb9eee304547e66a4351 /src/video_core/video_core.h
parent6d995b1ff654483f830b6c285629545263393d7e (diff)
downloadyuzu-mainline-05dc633a8c35221ce8d6abe6ddf027f8b0bab6c2.tar.gz
yuzu-mainline-05dc633a8c35221ce8d6abe6ddf027f8b0bab6c2.zip
OpenGL renderer
Diffstat (limited to 'src/video_core/video_core.h')
-rw-r--r--src/video_core/video_core.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/video_core.h b/src/video_core/video_core.h
index f885bec21..3f24df7bd 100644
--- a/src/video_core/video_core.h
+++ b/src/video_core/video_core.h
@@ -8,6 +8,8 @@
#include "renderer_base.h"
+#include <atomic>
+
////////////////////////////////////////////////////////////////////////////////////////////////////
// Video Core namespace
@@ -31,6 +33,9 @@ static const int kScreenBottomHeight = 240; ///< 3DS bottom screen height
extern RendererBase* g_renderer; ///< Renderer plugin
extern EmuWindow* g_emu_window; ///< Emu window
+// TODO: Wrap this in a user settings struct along with any other graphics settings (often set from qt ui)
+extern std::atomic<bool> g_hw_renderer_enabled;
+
/// Start the video core
void Start();