mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-24 05:17:17 +00:00
removed unused variable dim3
This commit is contained in:
parent
bc3e7f2e95
commit
b62155b551
@ -215,7 +215,6 @@ glhr::glmatrix model_orientation_gl() {
|
||||
void display_data::set_projection(int ed, bool apply_models) {
|
||||
DEBB(DF_GRAPH, (debugfile,"current_display->set_projection\n"));
|
||||
|
||||
bool dim3 = false;
|
||||
bool pers3 = false;
|
||||
|
||||
shaderside_projection = false;
|
||||
@ -242,7 +241,6 @@ void display_data::set_projection(int ed, bool apply_models) {
|
||||
if(spherephase == 2) glhr::new_shader_projection = glhr::shader_projection::standardS32;
|
||||
if(spherephase == 3) glhr::new_shader_projection = glhr::shader_projection::standardS33;
|
||||
}
|
||||
if(DIM == 3 && apply_models && shaderside_projection) dim3 = true;
|
||||
}
|
||||
|
||||
start_projection(ed, shaderside_projection);
|
||||
|
Loading…
Reference in New Issue
Block a user