diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-20 18:31:36 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-20 18:34:49 -0400 |
commit | 863579736cee987b7d3c341907b6c25f4fc1357b (patch) | |
tree | fe3f302bdf820dc2bdaf72a52354b82864c98945 /src/yuzu/debugger/graphics | |
parent | 2b7d8623665517048ac9d98409b7d915f1a14abd (diff) |
gpu: Rename Get3DEngine() to Maxwell3D()
This makes it match its const qualified equivalent.
Diffstat (limited to 'src/yuzu/debugger/graphics')
-rw-r--r-- | src/yuzu/debugger/graphics/graphics_surface.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu/debugger/graphics/graphics_surface.cpp b/src/yuzu/debugger/graphics/graphics_surface.cpp index 1fbca8ad0..c41ff693b 100644 --- a/src/yuzu/debugger/graphics/graphics_surface.cpp +++ b/src/yuzu/debugger/graphics/graphics_surface.cpp @@ -336,9 +336,9 @@ void GraphicsSurfaceWidget::OnUpdate() { // TODO: Store a reference to the registers in the debug context instead of accessing them // directly... - auto& registers = gpu.Get3DEngine().regs; - auto& rt = registers.rt[static_cast<size_t>(surface_source) - - static_cast<size_t>(Source::RenderTarget0)]; + const auto& registers = gpu.Maxwell3D().regs; + const auto& rt = registers.rt[static_cast<size_t>(surface_source) - + static_cast<size_t>(Source::RenderTarget0)]; surface_address = rt.Address(); surface_width = rt.width; |