From 63bb6808e629d29a2e90307e780ced9f427bcfc0 Mon Sep 17 00:00:00 2001 From: clayjohn Date: Sat, 9 Mar 2019 10:56:51 -0800 Subject: [PATCH] gles2 reallocate texture when transparent is set --- drivers/gles2/rasterizer_storage_gles2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gles2/rasterizer_storage_gles2.cpp b/drivers/gles2/rasterizer_storage_gles2.cpp index 8b8f9028260..e81508b742b 100644 --- a/drivers/gles2/rasterizer_storage_gles2.cpp +++ b/drivers/gles2/rasterizer_storage_gles2.cpp @@ -4733,6 +4733,7 @@ void RasterizerStorageGLES2::render_target_set_flag(RID p_render_target, RenderT rt->flags[p_flag] = p_value; switch (p_flag) { + case RENDER_TARGET_TRANSPARENT: case RENDER_TARGET_HDR: case RENDER_TARGET_NO_3D: case RENDER_TARGET_NO_SAMPLING: