diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-03-09 22:51:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-09 22:51:25 +0100 |
commit | 8598641b15e5a18c07acff5bb496e74956bb1c74 (patch) | |
tree | 644624be746bf37f6382ad59e1e7484fde0b420c | |
parent | bba854bac67a70757e325d9f06bf63fab5519d9e (diff) | |
parent | 63bb6808e629d29a2e90307e780ced9f427bcfc0 (diff) |
Merge pull request #26845 from clayjohn/gles2_transparent_viewport_bug
GLES2 reallocate texture when transparent is set
-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: |