Fixes issue that a viewport texture doesn't work with particle shader
This commit is contained in:
parent
942e0c4832
commit
124774860c
1 changed files with 3 additions and 0 deletions
|
@ -5895,7 +5895,10 @@ void RasterizerStorageGLES3::update_particles() {
|
|||
tex = resources.white_tex;
|
||||
} break;
|
||||
}
|
||||
} else if (t->proxy && t->proxy->tex_id) {
|
||||
|
||||
target = t->proxy->target;
|
||||
tex = t->proxy->tex_id;
|
||||
} else {
|
||||
|
||||
target = t->target;
|
||||
|
|
Loading…
Reference in a new issue