gfx: ddraw disable default depth test
parent
881a36b759
commit
4f0bd755d0
|
@ -387206,7 +387206,7 @@ void ddraw_flush() {
|
||||||
void ddraw_flush_projview(mat44 proj, mat44 view) {
|
void ddraw_flush_projview(mat44 proj, mat44 view) {
|
||||||
do_once dd_rs = renderstate();
|
do_once dd_rs = renderstate();
|
||||||
|
|
||||||
dd_rs.depth_test_enabled = 1;
|
dd_rs.depth_test_enabled = 0;
|
||||||
glActiveTexture(GL_TEXTURE0);
|
glActiveTexture(GL_TEXTURE0);
|
||||||
|
|
||||||
mat44 mvp;
|
mat44 mvp;
|
||||||
|
|
|
@ -69,7 +69,7 @@ void ddraw_flush() {
|
||||||
void ddraw_flush_projview(mat44 proj, mat44 view) {
|
void ddraw_flush_projview(mat44 proj, mat44 view) {
|
||||||
do_once dd_rs = renderstate();
|
do_once dd_rs = renderstate();
|
||||||
|
|
||||||
dd_rs.depth_test_enabled = 1;
|
dd_rs.depth_test_enabled = 0;
|
||||||
glActiveTexture(GL_TEXTURE0);
|
glActiveTexture(GL_TEXTURE0);
|
||||||
|
|
||||||
mat44 mvp;
|
mat44 mvp;
|
||||||
|
|
|
@ -21746,7 +21746,7 @@ void ddraw_flush() {
|
||||||
void ddraw_flush_projview(mat44 proj, mat44 view) {
|
void ddraw_flush_projview(mat44 proj, mat44 view) {
|
||||||
do_once dd_rs = renderstate();
|
do_once dd_rs = renderstate();
|
||||||
|
|
||||||
dd_rs.depth_test_enabled = 1;
|
dd_rs.depth_test_enabled = 0;
|
||||||
glActiveTexture(GL_TEXTURE0);
|
glActiveTexture(GL_TEXTURE0);
|
||||||
|
|
||||||
mat44 mvp;
|
mat44 mvp;
|
||||||
|
|
Loading…
Reference in New Issue