[Bf-blender-cvs] [0d29a4fa7a8] master: Fix compilation error

Sergey Sharybin noreply at git.blender.org
Tue May 7 17:24:07 CEST 2019


Commit: 0d29a4fa7a87a81d6a1cef17b5f4e81a41beca7c
Author: Sergey Sharybin
Date:   Tue May 7 17:23:50 2019 +0200
Branches: master
https://developer.blender.org/rB0d29a4fa7a87a81d6a1cef17b5f4e81a41beca7c

Fix compilation error

===================================================================

M	source/blender/editors/animation/anim_markers.c

===================================================================

diff --git a/source/blender/editors/animation/anim_markers.c b/source/blender/editors/animation/anim_markers.c
index 38024ad73d2..876bc9ae3e4 100644
--- a/source/blender/editors/animation/anim_markers.c
+++ b/source/blender/editors/animation/anim_markers.c
@@ -481,7 +481,7 @@ static void draw_markers_background(rctf *rect)
   uint pos = GPU_vertformat_attr_add(immVertexFormat(), "pos", GPU_COMP_F32, 2, GPU_FETCH_FLOAT);
   immBindBuiltinProgram(GPU_SHADER_2D_UNIFORM_COLOR);
 
-  const unsigned char shade[4];
+  unsigned char shade[4];
   UI_GetThemeColor4ubv(TH_SCRUBBING_BACKGROUND, shade);
 
   immUniformColor4ubv(shade);



More information about the Bf-blender-cvs mailing list