mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-26 07:16:02 +00:00
fixed projections not implemented in shaders disabling their 3D features
This commit is contained in:
@@ -698,7 +698,7 @@ EX namespace models {
|
||||
bool shaderside_projection = get_shader_flags() & SF_DIRECT;
|
||||
if(vid.consider_shader_projection && !shaderside_projection)
|
||||
dialog::lastItem().value = XLAT("N/A");
|
||||
if(vid.consider_shader_projection && shaderside_projection && vpmodel)
|
||||
if(vid.consider_shader_projection && shaderside_projection && (get_shader_flags() & SF_NONSPATIAL))
|
||||
dialog::lastItem().value += XLAT(" (2D only)");
|
||||
dialog::add_action([] { vid.consider_shader_projection = !vid.consider_shader_projection; });
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user