fix: fix glClearDepth, fixing bug in JourneyMap

This commit is contained in:
Swung0x48 2025-02-09 09:40:05 +08:00
parent 2f4c3c54b6
commit 0e56aa19f2

View File

@ -13,12 +13,10 @@
#define DEBUG 0 #define DEBUG 0
GLAPI GLAPIENTRY void glClearDepth(GLclampd depth) { GLAPI GLAPIENTRY void glClearDepth(GLclampd depth) {
LOG(); LOG();
glClearDepthf(depth); glClearDepthf(depth);
glClear(GL_DEPTH_BUFFER_BIT);
} }
void glHint(GLenum target, GLenum mode) { void glHint(GLenum target, GLenum mode) {
LOG(); LOG();
} }