Skip to content

backgroundcontrast: Guard against calling a nullptr

Aleix Pol Gonzalez requested to merge work/apol/contrast-crash into master

There are cases where GLVertexBuffer::map will return null (as seen in kwinglutils.cpp:1816) which does happen (as seen in the backtrace of bug 462017) Make sure we don't call the null map in that case.

BUG: 372305 Saw this in the VHI priority list, cannot reproduce the problem.

Merge request reports