Explorar o código

Remove HDR warning if on low end

(cherry picked from commit e3b3462187b4c3980fd992dbcdff255346fcfd04)
Atlinx %!s(int64=3) %!d(string=hai) anos
pai
achega
9f6c64135c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scene/main/viewport.cpp

+ 1 - 1
scene/main/viewport.cpp

@@ -3031,7 +3031,7 @@ String Viewport::get_configuration_warning() const {
 		warning += TTR("The Viewport size must be greater than or equal to 2 pixels on both dimensions to render anything.");
 	}
 
-	if (hdr && (usage == USAGE_2D || usage == USAGE_2D_NO_SAMPLING)) {
+	if (!VisualServer::get_singleton()->is_low_end() && hdr && (usage == USAGE_2D || usage == USAGE_2D_NO_SAMPLING)) {
 		if (warning != String()) {
 			warning += "\n\n";
 		}