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 | d923d8f50caf4d60a8d52b96ce6305917e74a3f0 (patch) | |
| tree | fe3f302bdf820dc2bdaf72a52354b82864c98945 /src/yuzu/debugger/graphics/graphics_surface.cpp | |
| parent | 2a56f71e5863a0f35b9ea1cba1605b0062e49755 (diff) | |
gpu: Rename Get3DEngine() to Maxwell3D()
This makes it match its const qualified equivalent.
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 1fbca8ad09..c41ff693b8 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; |
