mirror of https://gitlab.freedesktop.org/mesa/mesa
Free the memory for dri2_surf in the unlikely case that one provides NULL for native_window. Also set the relevant EGL_ERROR to provide feedback to the user. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> |
||
---|---|---|
.. | ||
Android.mk | ||
Makefile.am | ||
SConscript | ||
egl_dri2.c | ||
egl_dri2.h | ||
egl_dri2_fallbacks.h | ||
platform_android.c | ||
platform_drm.c | ||
platform_surfaceless.c | ||
platform_wayland.c | ||
platform_x11.c |