Files
Kovid Goyal d48548a926 OpenGL: Fail with a proper error when mapping a GPU buffer fails
glMapBuffer() can return NULL, for example with GL_OUT_OF_MEMORY, and the
callers then wrote to the NULL pointer and crashed with SIGSEGV. Report
the OpenGL error and exit via fatal(), which is what the Vulkan and Metal
drivers already do when they fail to allocate buffer storage.

Fixes #10976
2026-12-01 08:39:59 +05:30
..