no more local_perspective taken into account for SF_PIXELS

This commit is contained in:
Zeno Rogue 2019-10-22 22:43:07 +02:00
parent 3943b1937b
commit 2f15d0f013
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ void display_data::set_projection(int ed) {
}
else M[2][2] /= 1000;
glhr::projection_multiply(M);
if(nisot::local_perspective_used())
if(nisot::local_perspective_used() && (shader_flags & SF_BOX))
glhr::projection_multiply(glhr::tmtogl_transpose(nisot::local_perspective));
if(ed) {
glhr::glmatrix m = glhr::id;