summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/evas/common/evas_draw_main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/evas/common/evas_draw_main.c b/src/lib/evas/common/evas_draw_main.c
index ed1f95158e..5eae8fb672 100644
--- a/src/lib/evas/common/evas_draw_main.c
+++ b/src/lib/evas/common/evas_draw_main.c
@@ -32,13 +32,9 @@ evas_common_draw_context_cutouts_del(Cutout_Rects* rects, int idx)
32 } 32 }
33} 33}
34 34
35static int _init_count = 0;
36
37EAPI void 35EAPI void
38evas_common_init(void) 36evas_common_init(void)
39{ 37{
40 if (_init_count++) return ;
41
42 evas_common_cpu_init(); 38 evas_common_cpu_init();
43 39
44 evas_common_blend_init(); 40 evas_common_blend_init();
@@ -57,8 +53,6 @@ evas_common_init(void)
57EAPI void 53EAPI void
58evas_common_shutdown(void) 54evas_common_shutdown(void)
59{ 55{
60 if (--_init_count) return ;
61
62 evas_font_dir_cache_free(); 56 evas_font_dir_cache_free();
63 evas_common_image_cache_free(); 57 evas_common_image_cache_free();
64 evas_common_scale_sample_shutdown(); 58 evas_common_scale_sample_shutdown();