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
|
@ -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 New Issue