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

Remove outdated warning when using screen texture in GL Compatibility renderer
This commit is contained in:
Rémi Verschelde 2023-06-16 10:23:27 +02:00
commit 7dddd8a22c
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 0 additions and 4 deletions

View File

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