Mark context as const when it's possible and avoid typecasts from const bContext...
[blender.git] / source / blender / editors / space_clip / space_clip.c
index 174b7fcb37390ffe3b95b5b86c1a9edbc28debc7..bca0b2a476d6d8533ff36246e0cb6074ad639495 100644 (file)
@@ -1147,7 +1147,7 @@ static void clip_main_area_draw(const bContext *C, ARegion *ar)
                glScalef(maxdim * zoomx, maxdim * zoomy, 0);
                glMultMatrixf(sc->stabmat);
 
-               ED_mask_draw((bContext *)C, sc->mask_draw_flag, sc->mask_draw_type);
+               ED_mask_draw(C, sc->mask_draw_flag, sc->mask_draw_type);
 
                ED_region_draw_cb_draw(C, ar, REGION_DRAW_POST_VIEW);