summaryrefslogtreecommitdiff
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-21 10:51:00 -0700
committerGitHub <noreply@github.com>2018-07-21 10:51:00 -0700
commit552aac7e6c233d15dba22fe54c68588f1e48a5fa (patch)
treed1f2b22baa5c46ff89d5c8437a624c71ccf85596 /src/video_core/gpu.cpp
parentfe2498a65038bdea6ac5e4a2fad4fc992d4ff4ba (diff)
parent863579736cee987b7d3c341907b6c25f4fc1357b (diff)
Merge pull request #749 from lioncash/consistency
gpu: Rename Get3DEngine() to Maxwell3D()
Diffstat (limited to 'src/video_core/gpu.cpp')
-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;
}