Blender Git Loki

Git Commits -> Revision 9a58acb

July 30, 2021, 14:51 (GMT)
Fix T89782: Segfault populating popup menu with dimensions above the opengl limit

The crash happens because `GPU_offscreen_create` is called with `err_out` `NULL`.

This patch proposes a solution within the `GPU_offscreen_create` itself
and raises an error report in the interface if a menu is called with
dimensions beyond what is supported.

Ref T89782

Maniphest Tasks: T89782

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

Commit Details:

Full Hash: 9a58acb71c14aec4c24b6cf824625034f42d096c
Parent Commit: 233862e
Committed By: Fabian Schempp
Lines Changed: +8, -1

2 Modified Paths:

/source/blender/gpu/intern/gpu_framebuffer.cc (+7, -1) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021