1
0
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:
Zeno Rogue 2021-08-06 15:03:06 +02:00
parent cba7ed1db9
commit dfa682ea8a

View File

@ -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; }