fixed box display which sometimes removed parts of the picture

This commit is contained in:
Zeno Rogue 2021-09-30 13:22:48 +02:00
parent 99f85aecfd
commit 642f0899b5
1 changed files with 1 additions and 1 deletions

View File

@ -571,7 +571,7 @@ void display_data::set_projection(int ed, ld shift) {
auto cols = glhr::acolor(darkena(backcolor, 0, 0xFF));
glUniform4f(selected->uFogColor, cols[0], cols[1], cols[2], cols[3]);
}
else M[2][2] /= 1000;
else M[2][2] /= 10000;
glhr::projection_multiply(M);
if(nisot::local_perspective_used() && (shader_flags & SF_BOX))
glhr::projection_multiply(glhr::tmtogl_transpose(NLP));