mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	fixed box display which sometimes removed parts of the picture
This commit is contained in:
		| @@ -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)); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue