diff options
Diffstat (limited to 'source/blender/windowmanager/intern')
-rw-r--r-- | source/blender/windowmanager/intern/wm_draw.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/windowmanager/intern/wm_draw.c b/source/blender/windowmanager/intern/wm_draw.c index e0c4ab8eaf3..0922aaaee53 100644 --- a/source/blender/windowmanager/intern/wm_draw.c +++ b/source/blender/windowmanager/intern/wm_draw.c @@ -218,13 +218,6 @@ static bool wm_draw_region_stereo_set(Main *bmain, return false; } -static void wm_area_mark_invalid_backbuf(ScrArea *area) -{ - if (area->spacetype == SPACE_VIEW3D) { - ((View3D *)area->spacedata.first)->flag |= V3D_INVALID_BACKBUF; - } -} - static void wm_region_test_gizmo_do_draw(bContext *C, ScrArea *area, ARegion *region, @@ -739,7 +732,6 @@ static void wm_draw_window_offscreen(bContext *C, wmWindow *win, bool stereo) } } - wm_area_mark_invalid_backbuf(area); CTX_wm_area_set(C, NULL); GPU_debug_group_end(); |