Fixes issue that a viewport texture doesn't work with particle shader

This commit is contained in:
Bastiaan Olij 2018-05-18 22:02:14 +10:00
parent 942e0c4832
commit 124774860c

View file

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