Merge branch 'blender-v3.4-release'

This commit is contained in:
Jeroen Bakker 2022-11-11 08:48:43 +01:00
commit 6f1b5e1081
2 changed files with 2 additions and 0 deletions

View File

@ -2039,6 +2039,7 @@ void DRW_render_to_image(RenderEngine *engine, struct Depsgraph *depsgraph)
DRW_smoke_exit(DST.vmempool);
drw_manager_exit(&DST);
DRW_cache_free_old_subdiv();
/* Reset state after drawing */
DRW_state_reset();

View File

@ -1717,6 +1717,7 @@ void ED_view3d_draw_offscreen(Depsgraph *depsgraph,
do_color_management,
ofs,
viewport);
DRW_cache_free_old_subdiv();
GPU_matrix_pop_projection();
GPU_matrix_pop();