mirror of https://github.com/ClassiCube/ClassiCube
Dreamcast: Fix held block being invisible
This commit is contained in:
parent
6694f05ac5
commit
c45a8149f7
|
|
@ -36,7 +36,7 @@ static void HeldBlockRenderer_RenderModel(void) {
|
|||
|
||||
Gfx_SetFaceCulling(true);
|
||||
Gfx_SetDepthTest(false);
|
||||
Gfx_SetDepthWrite(false);
|
||||
/* Gfx_SetDepthWrite(false); */
|
||||
/* TODO: Need to properly reallocate per model VB here */
|
||||
|
||||
if (Blocks.Draw[held_block] == DRAW_GAS) {
|
||||
|
|
@ -57,7 +57,7 @@ static void HeldBlockRenderer_RenderModel(void) {
|
|||
}
|
||||
|
||||
Gfx_SetDepthTest(true);
|
||||
Gfx_SetDepthWrite(true);
|
||||
/* Gfx_SetDepthWrite(true); */
|
||||
Gfx_SetFaceCulling(false);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include "aligned_vector.h"
|
||||
#include "private.h"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue