Code cleanup: warning fixes.
[blender.git] / source / blender / windowmanager / intern / wm_draw.c
index c94ad74be720b0dc8ba035283ea7ecca3c6ba996..4fe82917705a7cd234bf6376f776718c2c6c68e8 100644 (file)
@@ -816,11 +816,3 @@ void wm_draw_region_clear(wmWindow *win, ARegion *ar)
        win->screen->do_draw= 1;
 }
 
-static void wm_draw_region_modified(wmWindow *win, ARegion *ar)
-{
-       int drawmethod= wm_automatic_draw_method(win);
-
-       if(ELEM(drawmethod, USER_DRAW_OVERLAP, USER_DRAW_OVERLAP_FLIP))
-               ED_region_tag_redraw(ar);
-}
-