diff options
author | Emil Velikov <[email protected]> | 2017-10-10 18:50:13 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-10-13 12:56:12 +0100 |
commit | 872a373bc829b7eb6d94063023934b3713185d75 (patch) | |
tree | 19ed8ce11e7cab200ad2ed1b9260ecb739ff73ef /Makefile.am | |
parent | 2289964f4f2aede298317d89bc96d9e2aa3ff766 (diff) |
egl/dri: don't crash when createImageFromRenderbuffer2 is NULL
The __DRI_IMAGE version can be 17 or over, while the function pointer is
NULL. Guard for that instead of crashing.
Fixes: bad24395d91 ("egl/dri: use createImageFromRenderbuffer2 when
available")
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions