[Bf-blender-cvs] [a18a6a1441e] blender2.8: gl cleanup: fix wrong cast in bf_editor_transform
Ray Molenkamp
noreply at git.blender.org
Thu Jun 28 06:47:36 CEST 2018
Commit: a18a6a1441e4c08b3a40637f6d1e9264183a5795
Author: Ray Molenkamp
Date: Wed Jun 27 22:47:25 2018 -0600
Branches: blender2.8
https://developer.blender.org/rBa18a6a1441e4c08b3a40637f6d1e9264183a5795
gl cleanup: fix wrong cast in bf_editor_transform
===================================================================
M source/blender/editors/transform/transform.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list