Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-12-12 01:05:36 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-12-12 01:05:36 +0300
commit5049322e6252617ab9477338bf2f5d3e4d7845d6 (patch)
treec57286787ba3bdb1704d9902facb5c55e84ad15a /source/blender/draw
parentb7933cc60195b5e96878aaab7045db6cf81b2dba (diff)
GPUState: Change isolated glLineWidth usage to GPU_line_width
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/intern/draw_view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_view.c b/source/blender/draw/intern/draw_view.c
index f56cbd68077..4a890c3be84 100644
--- a/source/blender/draw/intern/draw_view.c
+++ b/source/blender/draw/intern/draw_view.c
@@ -182,7 +182,7 @@ void DRW_draw_cursor(void)
RegionView3D *rv3d = ar->regiondata;
/* Draw nice Anti Aliased cursor. */
- glLineWidth(1.0f);
+ GPU_line_width(1.0f);
glEnable(GL_BLEND);
glEnable(GL_LINE_SMOOTH);