summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-21 00:31:36 +0200
committerLioncash <mathew1800@gmail.com>2018-07-21 00:34:49 +0200
commit863579736cee987b7d3c341907b6c25f4fc1357b (patch)
treefe3f302bdf820dc2bdaf72a52354b82864c98945 /src/video_core/gpu.cpp
parentMerge pull request #742 from bunnei/misc-apm (diff)
downloadyuzu-863579736cee987b7d3c341907b6c25f4fc1357b.tar
yuzu-863579736cee987b7d3c341907b6c25f4fc1357b.tar.gz
yuzu-863579736cee987b7d3c341907b6c25f4fc1357b.tar.bz2
yuzu-863579736cee987b7d3c341907b6c25f4fc1357b.tar.lz
yuzu-863579736cee987b7d3c341907b6c25f4fc1357b.tar.xz
yuzu-863579736cee987b7d3c341907b6c25f4fc1357b.tar.zst
yuzu-863579736cee987b7d3c341907b6c25f4fc1357b.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/gpu.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index e36483145..a003bc9e3 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -20,7 +20,11 @@ GPU::GPU() {
GPU::~GPU() = default;
-const Tegra::Engines::Maxwell3D& GPU::Get3DEngine() const {
+const Engines::Maxwell3D& GPU::Maxwell3D() const {
+ return *maxwell_3d;
+}
+
+Engines::Maxwell3D& GPU::Maxwell3D() {
return *maxwell_3d;
}