mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-17 10:44:48 +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);
|
||||
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 {
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user