diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-08-10 18:39:37 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-08-10 19:00:09 -0400 |
| commit | 20c2928c2b157b8a322a128732cd00cabbfa9d6d (patch) | |
| tree | f7db86f1b27135d7cc352c6eb5de4f2949d7e0f4 /src/video_core/video_core.h | |
| parent | f380496728695aca47db98b59f9031c3b9c2e553 (diff) | |
video_core; Get rid of global g_toggle_framelimit_enabled variable
Instead, we make a struct for renderer settings and allow the renderer
to update all of these settings, getting rid of the need for
global-scoped variables.
This also uncovered a few indirect inclusions for certain headers, which
this commit also fixes.
Diffstat (limited to 'src/video_core/video_core.h')
| -rw-r--r-- | src/video_core/video_core.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/video_core/video_core.h b/src/video_core/video_core.h index 9fbae8487..2dc07540f 100644 --- a/src/video_core/video_core.h +++ b/src/video_core/video_core.h @@ -4,7 +4,6 @@ #pragma once -#include <atomic> #include <memory> class EmuWindow; @@ -13,10 +12,6 @@ namespace VideoCore { class RendererBase; -// TODO: Wrap these in a user settings struct along with any other graphics settings (often set from -// qt ui) -extern std::atomic<bool> g_toggle_framelimit_enabled; - /** * Creates a renderer instance. * |
