summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-13 08:30:43 +0100
committerGitHub <noreply@github.com>2022-01-13 08:30:43 +0100
commit2d72dadbdefaa5e1bd74fce0e77c494a94fac599 (patch)
treedc251cb9dfb3e83b7a01f6f5c1c6ba6e601557d7
parent3fa75e8dba76f26bd40bf36263338941943d4f89 (diff)
parent9b1f242feb27daf9cc9dcc5b7bb0ac1b1d2bfb7d (diff)
Merge pull request #56742 from clayjohn/VULKAN-blur
-rw-r--r--servers/rendering/renderer_rd/effects_rd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/effects_rd.cpp b/servers/rendering/renderer_rd/effects_rd.cpp
index 4a19519995..4ab50782df 100644
--- a/servers/rendering/renderer_rd/effects_rd.cpp
+++ b/servers/rendering/renderer_rd/effects_rd.cpp
@@ -446,7 +446,7 @@ void EffectsRD::set_color(RID p_dest_texture, const Color &p_color, const Rect2i
}
void EffectsRD::gaussian_blur(RID p_source_rd_texture, RID p_texture, RID p_back_texture, const Rect2i &p_region, bool p_8bit_dst) {
- ERR_FAIL_COND_MSG(!prefer_raster_effects, "Can't use the compute version of the gaussian blur with the mobile renderer.");
+ ERR_FAIL_COND_MSG(prefer_raster_effects, "Can't use the compute version of the gaussian blur with the mobile renderer.");
memset(&copy.push_constant, 0, sizeof(CopyPushConstant));