Browse Source

Merge pull request #78302 from clayjohn/GLES3-screen-warning

Remove outdated warning when using screen texture in GL Compatibility renderer
Rémi Verschelde 2 năm trước cách đây
mục cha
commit
7dddd8a22c

+ 0 - 4
drivers/gles3/storage/material_storage.cpp

@@ -2968,10 +2968,6 @@ void SceneShaderData::set_code(const String &p_code) {
 		WARN_PRINT_ONCE_ED("Transmittance is only available when using the Forward+ rendering backend.");
 		WARN_PRINT_ONCE_ED("Transmittance is only available when using the Forward+ rendering backend.");
 	}
 	}
 
 
-	if (uses_screen_texture) {
-		WARN_PRINT_ONCE_ED("Reading from the screen texture is not supported when using the GL Compatibility backend yet. Support will be added in a future release.");
-	}
-
 	if (uses_depth_texture) {
 	if (uses_depth_texture) {
 		WARN_PRINT_ONCE_ED("Reading from the depth texture is not supported when using the GL Compatibility backend yet. Support will be added in a future release.");
 		WARN_PRINT_ONCE_ED("Reading from the depth texture is not supported when using the GL Compatibility backend yet. Support will be added in a future release.");
 	}
 	}