UI: set cursor line width

This commit is contained in:
2018-06-05 11:37:30 +02:00
parent f1a3b68e76
commit ade710500d

View File

@@ -87,6 +87,8 @@ void ED_image_draw_cursor(ARegion *ar, const float cursor[2])
x_fac = zoom[0];
y_fac = zoom[1];
glLineWidth(1.0f);
gpuTranslate2fv(cursor);
const uint shdr_pos = GWN_vertformat_attr_add(immVertexFormat(), "pos", GWN_COMP_F32, 2, GWN_FETCH_FLOAT);