1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-19 15:20:27 +00:00

ray:: GLES textures are not precise enough for via_texture ):

This commit is contained in:
Zeno Rogue 2021-06-01 18:03:18 +02:00
parent cf7d19c775
commit ba58789d56

View File

@ -164,8 +164,16 @@ struct raycaster : glhr::GLprogram {
};
#endif
#ifdef GLES_ONLY
bool m_via_texture = false;
bool wall_via_texture = false;
static const bool can_via_texture = false; /* textures are not precise enough ): */
#else
bool m_via_texture = true;
bool wall_via_texture = true;
static const bool can_via_texture = true;
#endif
raycaster::raycaster(string vsh, string fsh) : GLprogram(vsh, fsh) {
println(hlog, "assigning");