3DS - Note a crash
This commit is contained in:
parent
007b455426
commit
4c034571c8
1 changed files with 6 additions and 0 deletions
|
@ -117,8 +117,12 @@ void RenderBackend_Deinit(void)
|
|||
|
||||
RenderBackend_FreeSurface(framebuffer_surface);
|
||||
|
||||
// For some dumbass reason, all calls to C3D_RenderTargetDelete
|
||||
// causes the game to hang while shutting-down
|
||||
C3D_RenderTargetDelete(screen_render_target);
|
||||
|
||||
// These probably implicitly call C3D_RenderTargetDelete, also
|
||||
// causing a hang
|
||||
C2D_Fini();
|
||||
C3D_Fini();
|
||||
}
|
||||
|
@ -226,6 +230,8 @@ void RenderBackend_FreeSurface(RenderBackend_Surface *surface)
|
|||
frame_started = false;
|
||||
}
|
||||
|
||||
// For some dumbass reason, all calls to C3D_RenderTargetDelete
|
||||
// causes the game to hang while shutting-down
|
||||
if (surface->render_target != NULL)
|
||||
C3D_RenderTargetDelete(surface->render_target);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue