Work on rendering to FBO

This commit is contained in:
Kovid Goyal
2017-11-23 17:56:20 +05:30
parent f85c050235
commit ffff343e3d
8 changed files with 101 additions and 30 deletions

View File

@@ -174,6 +174,7 @@ destroy_os_window_item(OSWindow *w) {
remove_tab_inner(w, tab->id);
}
Py_CLEAR(w->window_title); Py_CLEAR(w->tab_bar_render_data.screen);
if (w->offscreen_texture_id) free_texture(&w->offscreen_texture_id);
remove_vao(w->tab_bar_render_data.vao_idx);
free(w->tabs); w->tabs = NULL;
}