mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-31 03:14:57 +00:00
fixed box display which sometimes removed parts of the picture
This commit is contained in:
parent
99f85aecfd
commit
642f0899b5
@ -571,7 +571,7 @@ void display_data::set_projection(int ed, ld shift) {
|
|||||||
auto cols = glhr::acolor(darkena(backcolor, 0, 0xFF));
|
auto cols = glhr::acolor(darkena(backcolor, 0, 0xFF));
|
||||||
glUniform4f(selected->uFogColor, cols[0], cols[1], cols[2], cols[3]);
|
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);
|
glhr::projection_multiply(M);
|
||||||
if(nisot::local_perspective_used() && (shader_flags & SF_BOX))
|
if(nisot::local_perspective_used() && (shader_flags & SF_BOX))
|
||||||
glhr::projection_multiply(glhr::tmtogl_transpose(NLP));
|
glhr::projection_multiply(glhr::tmtogl_transpose(NLP));
|
||||||
|
Loading…
Reference in New Issue
Block a user