mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-11 00:26:28 -04:00
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);
|
||||
}
|
||||
|
||||
|
2
third_party/gldc/src/flush.c
vendored
2
third_party/gldc/src/flush.c
vendored
@ -1,4 +1,4 @@
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include "aligned_vector.h"
|
||||
#include "private.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user