Merge pull request #26845 from clayjohn/gles2_transparent_viewport_bug
GLES2 reallocate texture when transparent is set
This commit is contained in:
commit
8598641b15
1 changed files with 1 additions and 0 deletions
|
@ -4733,6 +4733,7 @@ void RasterizerStorageGLES2::render_target_set_flag(RID p_render_target, RenderT
|
||||||
rt->flags[p_flag] = p_value;
|
rt->flags[p_flag] = p_value;
|
||||||
|
|
||||||
switch (p_flag) {
|
switch (p_flag) {
|
||||||
|
case RENDER_TARGET_TRANSPARENT:
|
||||||
case RENDER_TARGET_HDR:
|
case RENDER_TARGET_HDR:
|
||||||
case RENDER_TARGET_NO_3D:
|
case RENDER_TARGET_NO_3D:
|
||||||
case RENDER_TARGET_NO_SAMPLING:
|
case RENDER_TARGET_NO_SAMPLING:
|
||||||
|
|
Loading…
Reference in a new issue