diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-03-18 12:34:06 +0300 |
---|---|---|
committer | Fabian Schempp <fabianschempp@googlemail.com> | 2022-04-11 01:31:36 +0300 |
commit | fb576f1d3b36c165f34bcc5a280f1c4b892785f3 (patch) | |
tree | fff2c26f46550b814e0db50edc697ff60b9a616d /source/blender/editors/mask/mask_draw.c | |
parent | 1c7d84ea9e02a0d32a79ca60abce31c7104384fd (diff) |
Cleanup: Remove unused function
Diffstat (limited to 'source/blender/editors/mask/mask_draw.c')
-rw-r--r-- | source/blender/editors/mask/mask_draw.c | 15 |
1 files changed, 0 insertions, 15 deletions
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; |