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/transform/transform.c | |
parent | c2814f5b28235f8cd621ea9dc965b37c97801d76 (diff) |
Cleanup: use _f, _i suffix for GPU state API
Diffstat (limited to 'source/blender/editors/transform/transform.c')
-rw-r--r-- | source/blender/editors/transform/transform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 721c5f2d3fa..cab478413eb 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -1757,7 +1757,7 @@ static void drawHelpline(bContext *UNUSED(C), int x, int y, void *customdata) 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]); immUniform1i("colors_len", 0); /* "simple" mode */ @@ -7688,7 +7688,7 @@ static void drawVertSlide(TransInfo *t) immBindBuiltinProgram(GPU_SHADER_3D_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]); immUniform1i("colors_len", 0); /* "simple" mode */ |