GPU:
- Fix possible crash that can occur when switching off the 3D renderer after changing the framebuffer size.
This commit is contained in:
parent
dc53f97d17
commit
45f6ca71cc
|
@ -5649,6 +5649,7 @@ void GPUSubsystem::SetCustomFramebufferSize(size_t w, size_t h, u16 *clientNativ
|
|||
|
||||
this->_engineMain->SetCustomFramebufferSize(w, h);
|
||||
this->_engineSub->SetCustomFramebufferSize(w, h);
|
||||
BaseRenderer->SetFramebufferSize(w, h); // Since BaseRenderer is persistent, we need to update this manually.
|
||||
CurrentRenderer->SetFramebufferSize(w, h);
|
||||
|
||||
if (this->_displayInfo.didPerformCustomRender[NDSDisplayID_Main])
|
||||
|
|
Loading…
Reference in New Issue