diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-25 22:28:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-25 22:28:24 +0200 |
commit | e9315ace9f7f541d251a995ff2d4d3513ddc16c4 (patch) | |
tree | ba32de7358ed98e1230c1f522a5c7ba35d7ab19e /src/video_core/gpu.cpp | |
parent | Merge pull request #281 from mailwl/sockets-services (diff) | |
parent | GPU: Make the debug_context variable a member of the frontend instead of a global. (diff) | |
download | yuzu-e9315ace9f7f541d251a995ff2d4d3513ddc16c4.tar yuzu-e9315ace9f7f541d251a995ff2d4d3513ddc16c4.tar.gz yuzu-e9315ace9f7f541d251a995ff2d4d3513ddc16c4.tar.bz2 yuzu-e9315ace9f7f541d251a995ff2d4d3513ddc16c4.tar.lz yuzu-e9315ace9f7f541d251a995ff2d4d3513ddc16c4.tar.xz yuzu-e9315ace9f7f541d251a995ff2d4d3513ddc16c4.tar.zst yuzu-e9315ace9f7f541d251a995ff2d4d3513ddc16c4.zip |
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 |