Blender Git Loki

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:

Commit Details:

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

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021