mirror of
https://github.com/godotengine/godot.git
synced 2024-11-11 06:33:10 +00:00
Fix cannot use gaussian blur error
This commit is contained in:
parent
2f4d76f068
commit
9b1f242feb
@ -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) {
|
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(©.push_constant, 0, sizeof(CopyPushConstant));
|
memset(©.push_constant, 0, sizeof(CopyPushConstant));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user