mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-17 10:44:48 +00:00
ray:: GLES textures are not precise enough for via_texture ):
This commit is contained in:
parent
cf7d19c775
commit
ba58789d56
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user