fixing some stuff but nothing really.
Some checks failed
Build Dusk / build-linux (push) Failing after 50s
Build Dusk / build-psp (push) Failing after 1m1s

This commit is contained in:
2025-11-28 10:45:07 -06:00
parent b01c0d37b0
commit 9aaf271996
11 changed files with 48 additions and 14 deletions

View File

@@ -51,10 +51,15 @@ errorret_t displayInit(void) {
}
SDL_GL_SetSwapInterval(1);
glDisable(GL_DEPTH_TEST);
SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 24);
glDisable(GL_CULL_FACE);
glDisable(GL_LIGHTING);// PSP defaults this on?
glShadeModel(GL_SMOOTH); // Fixes color on PSP?
glEnable(GL_DEPTH_TEST);
glDepthFunc(GL_LEQUAL);
glClearDepth(1.0f);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glPixelStorei(GL_PACK_ALIGNMENT, 1);