diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-21 10:51:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-21 10:51:00 -0700 |
commit | 552aac7e6c233d15dba22fe54c68588f1e48a5fa (patch) | |
tree | d1f2b22baa5c46ff89d5c8437a624c71ccf85596 /src/yuzu/debugger/graphics/graphics_surface.cpp | |
parent | fe2498a65038bdea6ac5e4a2fad4fc992d4ff4ba (diff) | |
parent | 863579736cee987b7d3c341907b6c25f4fc1357b (diff) |
Merge pull request #749 from lioncash/consistency
gpu: Rename Get3DEngine() to Maxwell3D()
Diffstat (limited to 'src/yuzu/debugger/graphics/graphics_surface.cpp')
-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; |