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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-06-19 18:09:44 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-06-19 18:09:44 +0400
commit14a68d3a5f325373e575c28405064c4782a8ff97 (patch)
tree9f419c06944e45d22b989581c34a88babbcf4682 /source/blender/editors/space_clip/space_clip.c
parent7f2d1c01cdbcf1e0934c2f1664eb76986c7bc369 (diff)
Mark context as const when it's possible and avoid typecasts from const bContext* to bContext*
Diffstat (limited to 'source/blender/editors/space_clip/space_clip.c')
-rw-r--r--source/blender/editors/space_clip/space_clip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_clip/space_clip.c b/source/blender/editors/space_clip/space_clip.c
index 174b7fcb373..bca0b2a476d 100644
--- a/source/blender/editors/space_clip/space_clip.c
+++ b/source/blender/editors/space_clip/space_clip.c
@@ -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);