From 863579736cee987b7d3c341907b6c25f4fc1357b Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 20 Jul 2018 18:31:36 -0400 Subject: gpu: Rename Get3DEngine() to Maxwell3D() This makes it match its const qualified equivalent. --- src/video_core/gpu.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/video_core/gpu.cpp') 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; } -- cgit v1.2.3