570490cef5
Some drivers support EGL_EXT_image_dma_buf_import_modifiers for format enumeration, but don't have any modifiers. In this case, on platforms where malloc(0) returns non-NULL, we would leak that allocation to the caller. Handle this by noticing when the number of supported modifiers is 0 and returning early. |
||
---|---|---|
.. | ||
gl-renderer.c | ||
gl-renderer.h | ||
meson.build |