aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/debug_utils
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-03-24 23:35:06 -0500
committerSubv <subv2112@gmail.com>2018-03-24 23:35:06 -0500
commit18a9536efa851fe5ff7b347ecade2de15de3591a (patch)
treedb027be43dcb9fecb99fc7f8e698d3affd7e28c2 /src/video_core/debug_utils
parentf73fb9de9dc848eb85e4210a0a0608bf668ad1e7 (diff)
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.cpp2
-rw-r--r--src/video_core/debug_utils/debug_utils.h2
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 73fd4d7a3b..22d44aab29 100644
--- a/src/video_core/debug_utils/debug_utils.cpp
+++ b/src/video_core/debug_utils/debug_utils.cpp
@@ -23,8 +23,6 @@
namespace Tegra {
-std::shared_ptr<DebugContext> g_debug_context;
-
void DebugContext::DoOnEvent(Event event, void* data) {
{
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 98461d6d9e..bbba8e3807 100644
--- a/src/video_core/debug_utils/debug_utils.h
+++ b/src/video_core/debug_utils/debug_utils.h
@@ -160,6 +160,4 @@ private:
std::list<BreakPointObserver*> breakpoint_observers;
};
-extern std::shared_ptr<DebugContext> g_debug_context;
-
} // namespace Tegra