Draw Manager: clear draw global data after use
This commit is contained in:
parent
acf07e7366
commit
7cf7b3b7e5
|
@ -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 ***************************************** */
|
||||
|
|
Loading…
Reference in New Issue