ref: 094990b6adac11cb4fad9f1faa1da451a73f829c
parent: 785781c13392fbffd613f4ebdd3fcd1c8d390b62
author: Clownacy <Clownacy@users.noreply.github.com>
date: Wed Oct 14 16:05:33 EDT 2020
3DS - Remove warnings about a crash This crash on longer occurs
--- a/src/Backends/Rendering/3DS.cpp
+++ b/src/Backends/Rendering/3DS.cpp
@@ -147,12 +147,8 @@
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();
}
@@ -246,8 +242,6 @@
// Just in case
EndRendering();
- // 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);