diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-25 16:28:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-25 16:28:24 -0400 |
commit | e9315ace9f7f541d251a995ff2d4d3513ddc16c4 (patch) | |
tree | ba32de7358ed98e1230c1f522a5c7ba35d7ab19e /src/video_core/gpu.cpp | |
parent | a0933d92fc8bbb6240fff9a7dc8ed7648be474af (diff) | |
parent | 0ce52b1da2228f3325d94e52bead7335c8b07d1c (diff) |
Merge pull request #273 from Subv/textures
GPU: Added code to unswizzle textures and ported the surface viewer from citra
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r-- | src/video_core/gpu.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index c384d236e..9463cd5d6 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -18,4 +18,8 @@ GPU::GPU() { GPU::~GPU() = default; +const Tegra::Engines::Maxwell3D& GPU::Get3DEngine() const { + return *maxwell_3d; +} + } // namespace Tegra |