mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 21:52:51 +00:00
Use GL_LINE_STRIP instead of GL_LINES when drawing polylines.
This commit is contained in:
parent
8df449100a
commit
20cab06f9a
@ -566,7 +566,7 @@ void RasterizerCanvasGLES3::_canvas_item_render_commands(Item *p_item, Item *cur
|
||||
|
||||
} else {
|
||||
|
||||
_draw_generic(GL_LINES, pline->lines.size(), pline->lines.ptr(), NULL, pline->line_colors.ptr(), pline->line_colors.size() == 1);
|
||||
_draw_generic(GL_LINE_STRIP, pline->lines.size(), pline->lines.ptr(), NULL, pline->line_colors.ptr(), pline->line_colors.size() == 1);
|
||||
}
|
||||
|
||||
#ifdef GLES_OVER_GL
|
||||
|
Loading…
Reference in New Issue
Block a user