Merge pull request #19004 from BastiaanOlij/fix_particles_viewport_texture
Fixes issue that a viewport texture doesn't work with particle shader
This commit is contained in:
commit
5e997c9483
1 changed files with 3 additions and 0 deletions
|
@ -5895,7 +5895,10 @@ void RasterizerStorageGLES3::update_particles() {
|
||||||
tex = resources.white_tex;
|
tex = resources.white_tex;
|
||||||
} break;
|
} break;
|
||||||
}
|
}
|
||||||
|
} else if (t->proxy && t->proxy->tex_id) {
|
||||||
|
|
||||||
|
target = t->proxy->target;
|
||||||
|
tex = t->proxy->tex_id;
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
target = t->target;
|
target = t->target;
|
||||||
|
|
Loading…
Reference in a new issue