mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 02:15:45 +00:00
gpu: Rename Get3DEngine() to Maxwell3D()
This makes it match its const qualified equivalent.
This commit is contained in:
parent
2a56f71e58
commit
d923d8f50c
4 changed files with 17 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue