Merge pull request #26845 from clayjohn/gles2_transparent_viewport_bug

GLES2 reallocate texture when transparent is set
This commit is contained in:
Rémi Verschelde 2019-03-09 22:51:25 +01:00 committed by GitHub
commit 8598641b15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: