浏览代码

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

Remove outdated warning when using screen texture in GL Compatibility renderer
Rémi Verschelde 2 年之前
父节点
当前提交
7dddd8a22c
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      drivers/gles3/storage/material_storage.cpp

+ 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.");
 	}
 
-	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) {
 		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.");
 	}