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
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/interface/interface_icons.c')
-rw-r--r--source/blender/editors/interface/interface_icons.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/interface/interface_icons.c b/source/blender/editors/interface/interface_icons.c
index 0da21fd442f..0a25a8fb3c6 100644
--- a/source/blender/editors/interface/interface_icons.c
+++ b/source/blender/editors/interface/interface_icons.c
@@ -527,15 +527,15 @@ static void vicon_colorset_draw(int index, int x, int y, int w, int h, float UNU
/* XXX: Include alpha into this... */
/* normal */
- glColor3ubv(cs->solid);
+ glColor3ubv((unsigned char *)cs->solid);
glRecti(x, y, a, y + h);
/* selected */
- glColor3ubv(cs->select);
+ glColor3ubv((unsigned char *)cs->select);
glRecti(a, y, b, y + h);
/* active */
- glColor3ubv(cs->active);
+ glColor3ubv((unsigned char *)cs->active);
glRecti(b, y, c, y + h);
}