Blender Git Commit Log

Git Commits -> Revision 6c6c4da

Revision 6c6c4da by Clément Foucault (master)
June 2, 2018, 19:16 (GMT)
GPU: Fix texture being freed in threads without ogl context bound.

This is a dirty fix. A bit more cleaner approach would be to check if a
context is bound and delay the deletion only in this case.
Also we may want to do this orphan deletion at some other places than
wm_window_swap_buffers.

Commit Details:

Full Hash: 6c6c4da718c19443d2feef6fc8bde83cd37792a4
Parent Commit: bc6358a
Lines Changed: +54, -4

4 Modified Paths:

/source/blender/gpu/GPU_texture.h (+5, -0) (Diff)
/source/blender/gpu/intern/gpu_init_exit.c (+4, -0) (Diff)
/source/blender/gpu/intern/gpu_texture.c (+43, -4) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021