mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 23:10:26 +00:00
fixed sl2 rendering
This commit is contained in:
parent
a4d8e8314b
commit
b6b32d2c2b
@ -700,8 +700,13 @@ void dqi_poly::gldraw() {
|
|||||||
current_display->set_all(ed, sl2 ? 0 : V.shift);
|
current_display->set_all(ed, sl2 ? 0 : V.shift);
|
||||||
glhr::set_index_sl(V.shift + M_PI * min_slr * hybrid::csteps / cgi.psl_steps);
|
glhr::set_index_sl(V.shift + M_PI * min_slr * hybrid::csteps / cgi.psl_steps);
|
||||||
}
|
}
|
||||||
|
else if(sl2) {
|
||||||
|
current_display->set_all(ed, 0);
|
||||||
|
glhr::set_index_sl(V.shift);
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
current_display->set_all(ed, V.shift);
|
current_display->set_all(ed, sl2 ? 0 : V.shift);
|
||||||
|
glhr::set_index_sl(V.shift + M_PI * min_slr * hybrid::csteps / cgi.psl_steps);
|
||||||
}
|
}
|
||||||
bool draw = color;
|
bool draw = color;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user