diff options
author | Simon Ser <contact@emersion.fr> | 2023-01-19 17:10:13 +0100 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2023-01-19 18:50:59 +0000 |
commit | 377668aaf6f2d8d0cb11895c4a884c7cfdfe08b6 (patch) | |
tree | e0f220be7eb267066c89af395765421af0711260 /examples/simple.c | |
parent | 1ba322e9fff2d259bfe55bc43afc1a934ea269a5 (diff) |
render/vulkan: check that requested size is smaller than max
Fail with a clearer error when the requested size is too large.
Without this, we allocate a buffer with a size smaller than what
was requested.
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3975
Diffstat (limited to 'examples/simple.c')
0 files changed, 0 insertions, 0 deletions