diff options
-rw-r--r-- | source/blender/editors/include/ED_mask.h | 1 | ||||
-rw-r--r-- | source/blender/editors/mask/mask_draw.c | 15 |
2 files changed, 0 insertions, 16 deletions
diff --git a/source/blender/editors/include/ED_mask.h b/source/blender/editors/include/ED_mask.h index bc01f76f20d..7039d6d9fc7 100644 --- a/source/blender/editors/include/ED_mask.h +++ b/source/blender/editors/include/ED_mask.h @@ -63,7 +63,6 @@ bool ED_mask_selected_minmax(const struct bContext *C, /* mask_draw.c */ -void ED_mask_draw(const struct bContext *C, char draw_flag, char draw_type); /** * Sets up the opengl context. * width, height are to match the values from #ED_mask_get_size(). diff --git a/source/blender/editors/mask/mask_draw.c b/source/blender/editors/mask/mask_draw.c index 8fe3b74f9c9..60232dee109 100644 --- a/source/blender/editors/mask/mask_draw.c +++ b/source/blender/editors/mask/mask_draw.c @@ -638,21 +638,6 @@ static void draw_mask_layers(const bContext *C, GPU_blend(GPU_BLEND_NONE); } -void ED_mask_draw(const bContext *C, const char draw_flag, const char draw_type) -{ - ScrArea *area = CTX_wm_area(C); - Mask *mask = CTX_data_edit_mask(C); - int width, height; - - if (!mask) { - return; - } - - ED_mask_get_size(area, &width, &height); - - draw_mask_layers(C, mask, draw_flag, draw_type, width, height); -} - static float *mask_rasterize(Mask *mask, const int width, const int height) { MaskRasterHandle *handle; |