Blender Git Commit Log

Git Commits -> Revision 7198e9d

Revision 7198e9d by Lukas Stockner (master)
August 5, 2020, 00:35 (GMT)
Fix unreported crash in gpu_free_unused_buffers

As far as I can see, this problem was introduced with the gpu_free_unused_buffers() changes in rB97b597c.

The code checks the returned pointer to stop looping, but the last iteration will return the last GPUTexture and set the queue to NULL, meaning that the next pop() will crash.

Differential Revision: https://developer.blender.org/D8468

Commit Details:

Full Hash: 7198e9d10e2c9841f6ab35bdb5570ea1c7ebab30
Parent Commit: 1ccb997
Lines Changed: +3, -6

1 Modified Path:

/source/blender/blenkernel/intern/image_gpu.c (+3, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021