Dreamcast: Fix held block being invisible

This commit is contained in:
UnknownShadow200 2024-06-12 20:20:32 +10:00
parent 6694f05ac5
commit c45a8149f7
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ static void HeldBlockRenderer_RenderModel(void) {
Gfx_SetFaceCulling(true); Gfx_SetFaceCulling(true);
Gfx_SetDepthTest(false); Gfx_SetDepthTest(false);
Gfx_SetDepthWrite(false); /* Gfx_SetDepthWrite(false); */
/* TODO: Need to properly reallocate per model VB here */ /* TODO: Need to properly reallocate per model VB here */
if (Blocks.Draw[held_block] == DRAW_GAS) { if (Blocks.Draw[held_block] == DRAW_GAS) {
@ -57,7 +57,7 @@ static void HeldBlockRenderer_RenderModel(void) {
} }
Gfx_SetDepthTest(true); Gfx_SetDepthTest(true);
Gfx_SetDepthWrite(true); /* Gfx_SetDepthWrite(true); */
Gfx_SetFaceCulling(false); Gfx_SetFaceCulling(false);
} }

View File

@ -1,4 +1,4 @@
#include <stddef.h> #include <stdbool.h>
#include "aligned_vector.h" #include "aligned_vector.h"
#include "private.h" #include "private.h"