diff options
author | Robert Mader <robert.mader@collabora.com> | 2023-05-16 17:21:06 +0200 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2023-05-17 13:37:50 +0000 |
commit | f73fdfb4651887bc2520dea226b526b36493dc02 (patch) | |
tree | 95d7bdf41071b78b94797f413c91d224abe2c922 /cogl/cogl/cogl-framebuffer.c | |
parent | 18e06c248436625faf5f992030a333ef138550e0 (diff) | |
download | mutter-f73fdfb4651887bc2520dea226b526b36493dc02.tar.gz |
drm-buffer-gbm: Bail out early if FBO allocation fails
A failing allocation is non-fatal here, however if it fails later in a
lazy allocation triggered by `cogl_framebuffer_create_timestamp_query()`
we end up crashing. Thus force the allocation early, like we already do
in other places.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3004>
Diffstat (limited to 'cogl/cogl/cogl-framebuffer.c')
0 files changed, 0 insertions, 0 deletions