diff options
author | bunnei <bunneidev@gmail.com> | 2019-02-20 21:24:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-20 21:24:56 -0500 |
commit | ae437320c84e8c5fff69e8cec413e63b11f952b6 (patch) | |
tree | d7f7f74d87fdaa6dd9ec829086e8c3814ae0506b /src/video_core/gpu.h | |
parent | 3273f93cd52ce38378617d098b9c3e552d28f0d4 (diff) | |
parent | a8fa5019b51c9ce765124121daac863cfc1365aa (diff) |
Merge pull request #2130 from lioncash/system_engine
video_core: Remove usages of System::GetInstance() within the engines
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r-- | src/video_core/gpu.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index a482196ea..0f5bfdcbf 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h @@ -6,12 +6,15 @@ #include <array> #include <memory> -#include <vector> #include "common/common_types.h" #include "core/hle/service/nvflinger/buffer_queue.h" #include "video_core/dma_pusher.h" #include "video_core/memory_manager.h" +namespace Core { +class System; +} + namespace VideoCore { class RasterizerInterface; } @@ -118,7 +121,7 @@ enum class EngineID { class GPU final { public: - explicit GPU(VideoCore::RasterizerInterface& rasterizer); + explicit GPU(Core::System& system, VideoCore::RasterizerInterface& rasterizer); ~GPU(); struct MethodCall { |