gfx: use dd_ontop to determine depth test, again

main
Dominik Madarász 2024-04-15 14:42:38 +02:00
parent 2ebaa545c0
commit e59fba6cf2
3 changed files with 3 additions and 0 deletions

View File

@ -387205,6 +387205,7 @@ void ddraw_flush() {
void ddraw_flush_projview(mat44 proj, mat44 view) {
do_once dd_rs = renderstate();
dd_rs.depth_test_enabled = !dd_ontop;
dd_rs.cull_face_enabled = 0;
glActiveTexture(GL_TEXTURE0);

View File

@ -68,6 +68,7 @@ void ddraw_flush() {
void ddraw_flush_projview(mat44 proj, mat44 view) {
do_once dd_rs = renderstate();
dd_rs.depth_test_enabled = !dd_ontop;
dd_rs.cull_face_enabled = 0;
glActiveTexture(GL_TEXTURE0);

View File

@ -21745,6 +21745,7 @@ void ddraw_flush() {
void ddraw_flush_projview(mat44 proj, mat44 view) {
do_once dd_rs = renderstate();
dd_rs.depth_test_enabled = !dd_ontop;
dd_rs.cull_face_enabled = 0;
glActiveTexture(GL_TEXTURE0);