diff options
author | clayjohn <claynjohn@gmail.com> | 2019-03-09 10:56:51 -0800 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2019-03-09 10:56:51 -0800 |
commit | 63bb6808e629d29a2e90307e780ced9f427bcfc0 (patch) | |
tree | 7607e3ce5c27ae9798de08ae7aebebef9e12d8a8 /drivers | |
parent | d41cd57595c4f68838b8dcf27e66cb77476577ed (diff) |
gles2 reallocate texture when transparent is set
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gles2/rasterizer_storage_gles2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gles2/rasterizer_storage_gles2.cpp b/drivers/gles2/rasterizer_storage_gles2.cpp index 8b8f902826..e81508b742 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: |