mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-19 15:20:27 +00:00
fixed a possible bug while raycasting the first frame
This commit is contained in:
parent
cba7ed1db9
commit
dfa682ea8a
@ -2026,6 +2026,14 @@ EX void cast() {
|
||||
}
|
||||
rmap->assign_uniforms(&*o);
|
||||
}
|
||||
|
||||
// we may learn about this now...
|
||||
if(need_many_cell_types() && o->uWallOffset == -1) {
|
||||
reset_raycaster();
|
||||
cast();
|
||||
return;
|
||||
}
|
||||
|
||||
GLERR("uniform mediump start");
|
||||
|
||||
if(!o) { cast(); return; }
|
||||
|
Loading…
Reference in New Issue
Block a user