summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-02-12 18:34:41 +0100
committerSubv <subv2112@gmail.com>2018-02-12 18:34:41 +0100
commitac61a7d1e6575bde260ba482ba3594e70fcac358 (patch)
tree727dab341ab8875675481e308a61816264350dbd /src/video_core/gpu.h
parentMake a GPU class in VideoCore to contain the GPU state. (diff)
downloadyuzu-ac61a7d1e6575bde260ba482ba3594e70fcac358.tar
yuzu-ac61a7d1e6575bde260ba482ba3594e70fcac358.tar.gz
yuzu-ac61a7d1e6575bde260ba482ba3594e70fcac358.tar.bz2
yuzu-ac61a7d1e6575bde260ba482ba3594e70fcac358.tar.lz
yuzu-ac61a7d1e6575bde260ba482ba3594e70fcac358.tar.xz
yuzu-ac61a7d1e6575bde260ba482ba3594e70fcac358.tar.zst
yuzu-ac61a7d1e6575bde260ba482ba3594e70fcac358.zip
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r--src/video_core/gpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index a961f3fd4..ba7781756 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -26,7 +26,7 @@ class GPU final {
public:
GPU() {
memory_manager = std::make_unique<MemoryManager>();
- maxwell_3d = std::make_unique<Engines::Maxwell3D>();
+ maxwell_3d = std::make_unique<Engines::Maxwell3D>(*memory_manager);
fermi_2d = std::make_unique<Engines::Fermi2D>();
maxwell_compute = std::make_unique<Engines::MaxwellCompute>();
}