UI: set cursor line width
This commit is contained in:
parent
f1a3b68e76
commit
ade710500d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue