Fix compilation error
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 7 May 2019 15:23:50 +0000 (17:23 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 7 May 2019 15:23:50 +0000 (17:23 +0200)
source/blender/editors/animation/anim_markers.c

index 38024ad73d2c0c37d3e40c197422de8749d040e0..876bc9ae3e4628376b667e20c35c1dda6dfc76e8 100644 (file)
@@ -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);