mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 07:35:10 +00:00
Ability for Light2D to use a proxy texture, fixes #17067
This commit is contained in:
parent
39e8aca1b7
commit
072bf41c03
@ -1591,6 +1591,7 @@ void RasterizerCanvasGLES3::canvas_render_items(Item *p_item_list, int p_z, cons
|
|||||||
if (!t) {
|
if (!t) {
|
||||||
glBindTexture(GL_TEXTURE_2D, storage->resources.white_tex);
|
glBindTexture(GL_TEXTURE_2D, storage->resources.white_tex);
|
||||||
} else {
|
} else {
|
||||||
|
t = t->get_ptr();
|
||||||
|
|
||||||
glBindTexture(t->target, t->tex_id);
|
glBindTexture(t->target, t->tex_id);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user