diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-10-30 18:21:44 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-10-30 18:44:23 +0300 |
commit | c4f69794ca14e3c38ea8558c8a5414df2a778e19 (patch) | |
tree | a740374774076d9c1beaeb794423a1a9a131c27e /source/blender/editors/util | |
parent | 26223f8d9a09a0554e94610039abf5c85284e2e3 (diff) |
UI: Fix point size and line width ignoring UI scaling option
Diffstat (limited to 'source/blender/editors/util')
-rw-r--r-- | source/blender/editors/util/ed_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/util/ed_util.c b/source/blender/editors/util/ed_util.c index 10698b9ebab..d340938495d 100644 --- a/source/blender/editors/util/ed_util.c +++ b/source/blender/editors/util/ed_util.c @@ -347,7 +347,7 @@ void ED_region_draw_mouse_line_cb(const bContext *C, ARegion *ar, void *arg_info const uint shdr_pos = GPU_vertformat_attr_add(immVertexFormat(), "pos", GPU_COMP_F32, 2, GPU_FETCH_FLOAT); - GPU_line_width(1.0f * U.pixelsize); + GPU_line_width(1.0f); immBindBuiltinProgram(GPU_SHADER_2D_LINE_DASHED_UNIFORM_COLOR); |