mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 23:31:53 -05:00
Fixes issue that a viewport texture doesn't work with particle shader
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user