From dce624e3f12f1fb8bab66a3e974037501653b3ed Mon Sep 17 00:00:00 2001 From: Markus Wick Date: Tue, 4 Sep 2018 14:06:52 +0200 Subject: core: Use a raw pointer in GetGPUDebugContext. This helper is called very often. The memory ownership shall not be transfered, so just return the raw pointer. --- src/core/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/core.h') diff --git a/src/core/core.h b/src/core/core.h index eee1fecc1..5c3c0e2a1 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -209,7 +209,7 @@ public: void SetGPUDebugContext(std::shared_ptr context); - std::shared_ptr GetGPUDebugContext() const; + Tegra::DebugContext* GetGPUDebugContext() const; void SetFilesystem(std::shared_ptr vfs); -- cgit v1.2.3