Browse Source

Merge pull request #101198 from Calinou/editor-metalfx-show-options-on-all-platforms

Show MetalFX options in the Scaling 3D Mode enum on all platforms
Rémi Verschelde 7 months ago
parent
commit
558a18fbb7
1 changed files with 1 additions and 2 deletions
  1. 1 2
      servers/rendering_server.cpp

+ 1 - 2
servers/rendering_server.cpp

@@ -3670,10 +3670,9 @@ void RenderingServer::init() {
 		{
 		{
 			Vector<String> mode_hints_arr = { "Bilinear (Fastest)", "FSR 1.0 (Fast)", "FSR 2.2 (Slow)" };
 			Vector<String> mode_hints_arr = { "Bilinear (Fastest)", "FSR 1.0 (Fast)", "FSR 2.2 (Slow)" };
 			mode_hints = String(",").join(mode_hints_arr);
 			mode_hints = String(",").join(mode_hints_arr);
-#ifdef METAL_ENABLED
+
 			mode_hints_arr.push_back("MetalFX (Spatial)");
 			mode_hints_arr.push_back("MetalFX (Spatial)");
 			mode_hints_arr.push_back("MetalFX (Temporal)");
 			mode_hints_arr.push_back("MetalFX (Temporal)");
-#endif
 			mode_hints_metal = String(",").join(mode_hints_arr);
 			mode_hints_metal = String(",").join(mode_hints_arr);
 		}
 		}