fix disappearing lines in visual script editor
This commit is contained in:
parent
15ee6b781b
commit
2d05ae39a2
1 changed files with 2 additions and 0 deletions
|
@ -661,6 +661,8 @@ void RasterizerCanvasGLES2::_canvas_item_render_commands(Item *p_item, Item *cur
|
|||
if (state.canvas_shader.bind())
|
||||
_set_uniforms();
|
||||
|
||||
_bind_canvas_texture(RID(), RID());
|
||||
|
||||
if (pline->triangles.size()) {
|
||||
_draw_generic(GL_TRIANGLE_STRIP, pline->triangles.size(), pline->triangles.ptr(), NULL, pline->triangle_colors.ptr(), pline->triangle_colors.size() == 1);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue