shithub: cstory

Download patch

ref: dd0d4537091f077321e1812acdb6ac4367e53052
parent: 5d970e860c14bf4081ec93eb181d60f24c7b6cc3
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat Oct 17 18:46:12 EDT 2020

3DS: Disable depth test

--- a/src/Backends/Rendering/3DS.cpp
+++ b/src/Backends/Rendering/3DS.cpp
@@ -114,6 +114,8 @@
 	C2D_Init(C2D_DEFAULT_MAX_OBJECTS);
 	C2D_Prepare();
 
+	C3D_DepthTest(false, GPU_GEQUAL, GPU_WRITE_ALL);
+
 	screen_render_target = C3D_RenderTargetCreate(240, 400, GPU_RB_RGBA8, -1);
 
 	if (screen_render_target != NULL)