diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-02 19:27:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-02 19:27:05 +0300 |
commit | 9f80429ab6a83a37ad94cbeee7f6ede4dec84f1a (patch) | |
tree | c11aa3a1db4c77256483aa9c2a5c5d571de6d1dc /source/blender/editors/gpencil/gpencil_paint.c | |
parent | c2814f5b28235f8cd621ea9dc965b37c97801d76 (diff) |
Cleanup: use _f, _i suffix for GPU state API
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_paint.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index 483966c0c78..ec8a213301f 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -1891,7 +1891,7 @@ static void gpencil_draw_eraser(bContext *UNUSED(C), int x, int y, void *p_ptr) immBindBuiltinProgram(GPU_SHADER_2D_LINE_DASHED_UNIFORM_COLOR); float viewport_size[4]; - GPU_viewport_size_getf(viewport_size); + GPU_viewport_size_get_f(viewport_size); immUniform2f("viewport_size", viewport_size[2], viewport_size[3]); immUniformColor4f(1.0f, 0.39f, 0.39f, 0.78f); |