gfx: use dd_ontop to determine depth test, again
parent
2ebaa545c0
commit
e59fba6cf2
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue