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
path: root/source
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2018-06-28 07:47:25 +0300
committerRay Molenkamp <github@lazydodo.com>2018-06-28 07:47:25 +0300
commita18a6a1441e4c08b3a40637f6d1e9264183a5795 (patch)
tree10cbc78c05884e8f0926b59558f6b5152820f221 /source
parent8e02106d0ddc7b31844d26037a824d56d3c65663 (diff)
gl cleanup: fix wrong cast in bf_editor_transform
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/transform/transform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index 1b861c5749d..605b13e05ac 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -1848,13 +1848,13 @@ static void drawHelpline(bContext *UNUSED(C), int x, int y, void *customdata)
GPU_line_width(3.0f);
UI_make_axis_color(col, col2, 'X');
- immUniformColor3ubv((GLubyte *)col2);
+ immUniformColor3ubv(col2);
drawArrow(RIGHT, 5, 10, 5);
drawArrow(LEFT, 5, 10, 5);
UI_make_axis_color(col, col2, 'Y');
- immUniformColor3ubv((GLubyte *)col2);
+ immUniformColor3ubv(col2);
drawArrow(UP, 5, 10, 5);
drawArrow(DOWN, 5, 10, 5);