diff options
| author | 2018-03-24 23:35:06 -0500 | |
|---|---|---|
| committer | 2018-03-24 23:35:06 -0500 | |
| commit | 0ce52b1da2228f3325d94e52bead7335c8b07d1c (patch) | |
| tree | db027be43dcb9fecb99fc7f8e698d3affd7e28c2 /src/video_core/debug_utils | |
| parent | GPU: Added a function to retrieve the active textures for a shader stage. (diff) | |
| download | yuzu-0ce52b1da2228f3325d94e52bead7335c8b07d1c.tar.gz yuzu-0ce52b1da2228f3325d94e52bead7335c8b07d1c.tar.xz yuzu-0ce52b1da2228f3325d94e52bead7335c8b07d1c.zip | |
GPU: Make the debug_context variable a member of the frontend instead of a global.
Diffstat (limited to 'src/video_core/debug_utils')
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.cpp | 2 | ||||
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp index 73fd4d7a3..22d44aab2 100644 --- a/src/video_core/debug_utils/debug_utils.cpp +++ b/src/video_core/debug_utils/debug_utils.cpp | |||
| @@ -23,8 +23,6 @@ | |||
| 23 | 23 | ||
| 24 | namespace Tegra { | 24 | namespace Tegra { |
| 25 | 25 | ||
| 26 | std::shared_ptr<DebugContext> g_debug_context; | ||
| 27 | |||
| 28 | void DebugContext::DoOnEvent(Event event, void* data) { | 26 | void DebugContext::DoOnEvent(Event event, void* data) { |
| 29 | { | 27 | { |
| 30 | std::unique_lock<std::mutex> lock(breakpoint_mutex); | 28 | std::unique_lock<std::mutex> lock(breakpoint_mutex); |
diff --git a/src/video_core/debug_utils/debug_utils.h b/src/video_core/debug_utils/debug_utils.h index 98461d6d9..bbba8e380 100644 --- a/src/video_core/debug_utils/debug_utils.h +++ b/src/video_core/debug_utils/debug_utils.h | |||
| @@ -160,6 +160,4 @@ private: | |||
| 160 | std::list<BreakPointObserver*> breakpoint_observers; | 160 | std::list<BreakPointObserver*> breakpoint_observers; |
| 161 | }; | 161 | }; |
| 162 | 162 | ||
| 163 | extern std::shared_ptr<DebugContext> g_debug_context; | ||
| 164 | |||
| 165 | } // namespace Tegra | 163 | } // namespace Tegra |