diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-12-12 01:05:36 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-12-12 01:05:36 +0300 |
commit | 5049322e6252617ab9477338bf2f5d3e4d7845d6 (patch) | |
tree | c57286787ba3bdb1704d9902facb5c55e84ad15a /source/blender/windowmanager/intern/wm_gesture.c | |
parent | b7933cc60195b5e96878aaab7045db6cf81b2dba (diff) |
GPUState: Change isolated glLineWidth usage to GPU_line_width
Diffstat (limited to 'source/blender/windowmanager/intern/wm_gesture.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_gesture.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_gesture.c b/source/blender/windowmanager/intern/wm_gesture.c index 70150e40142..77734a361c1 100644 --- a/source/blender/windowmanager/intern/wm_gesture.c +++ b/source/blender/windowmanager/intern/wm_gesture.c @@ -53,6 +53,7 @@ #include "GPU_immediate.h" #include "GPU_immediate_util.h" +#include "GPU_state.h" #include "BIF_glutil.h" @@ -418,7 +419,7 @@ void wm_gesture_draw(wmWindow *win) { wmGesture *gt = (wmGesture *)win->gesture.first; - glLineWidth(1.0f); + GPU_line_width(1.0f); for (; gt; gt = gt->next) { /* all in subwindow space */ wmViewport(>->winrct); |