Draw Manager: clear draw global data after use

This commit is contained in:
Campbell Barton 2017-04-26 00:39:53 +10:00
parent acf07e7366
commit 7cf7b3b7e5
1 changed files with 3 additions and 0 deletions

View File

@ -1892,6 +1892,9 @@ void DRW_draw_view(const bContext *C)
DRW_state_reset();
DRW_engines_disable();
/* avoid accidental reuse */
memset(&DST, 0x0, sizeof(DST));
}
/* ****************************************** OTHER ***************************************** */