gfx: fix ddraw culling
parent
32ca7a2ad5
commit
4eec9cd8c4
|
@ -387205,8 +387205,8 @@ 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.cull_face_enabled = 0;
|
||||||
|
|
||||||
dd_rs.depth_test_enabled = !dd_ontop;
|
|
||||||
glActiveTexture(GL_TEXTURE0);
|
glActiveTexture(GL_TEXTURE0);
|
||||||
|
|
||||||
mat44 mvp;
|
mat44 mvp;
|
||||||
|
|
|
@ -68,8 +68,8 @@ 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.cull_face_enabled = 0;
|
||||||
|
|
||||||
dd_rs.depth_test_enabled = !dd_ontop;
|
|
||||||
glActiveTexture(GL_TEXTURE0);
|
glActiveTexture(GL_TEXTURE0);
|
||||||
|
|
||||||
mat44 mvp;
|
mat44 mvp;
|
||||||
|
|
|
@ -21745,8 +21745,8 @@ 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.cull_face_enabled = 0;
|
||||||
|
|
||||||
dd_rs.depth_test_enabled = !dd_ontop;
|
|
||||||
glActiveTexture(GL_TEXTURE0);
|
glActiveTexture(GL_TEXTURE0);
|
||||||
|
|
||||||
mat44 mvp;
|
mat44 mvp;
|
||||||
|
|
Loading…
Reference in New Issue