1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

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

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;