aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-20 18:31:36 -0400
committerLioncash <mathew1800@gmail.com>2018-07-20 18:34:49 -0400
commit863579736cee987b7d3c341907b6c25f4fc1357b (patch)
treefe3f302bdf820dc2bdaf72a52354b82864c98945 /src/video_core/gpu.cpp
parent2b7d8623665517048ac9d98409b7d915f1a14abd (diff)
gpu: Rename Get3DEngine() to Maxwell3D()
This makes it match its const qualified equivalent.
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 e364831454..a003bc9e34 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;
}