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@blender.org>2022-03-18 12:34:06 +0300
committerSergey Sharybin <sergey@blender.org>2022-03-18 12:34:06 +0300
commitc7954d5904c63c3d313d32a5efe6d1e09e4c4eda (patch)
tree39a75538f2ffe1151005cdf435054e25128f9729 /source/blender/editors/mask
parent578c2f117a9ed97753b46c39098da9db727a452c (diff)
Cleanup: Remove unused function
Diffstat (limited to 'source/blender/editors/mask')
-rw-r--r--source/blender/editors/mask/mask_draw.c15
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;