1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-12 03:33:00 +00:00

fixed projections not implemented in shaders disabling their 3D features

This commit is contained in:
Zeno Rogue
2025-09-07 22:41:00 +02:00
parent 0bf46acbf2
commit e0b82be00f
3 changed files with 6 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ EX bool non_spatial_model() {
if(pmodel == mdSpiral && euclid)
return true;
#if CAP_GL
return pmodel && vid.consider_shader_projection && (get_shader_flags() & SF_DIRECT);
return pmodel && vid.consider_shader_projection && (get_shader_flags() & SF_DIRECT) && (get_shader_flags() & SF_NONSPATIAL);
#else
return false;
#endif