mirror of https://gitlab.freedesktop.org/mesa/mesa
Don't bother allocating any memory until we're finished parsing and sanitising all the attributes. As a nice side effect we now consistently set eglError when any of the attrib/values are not correct. Strangely enough the spec does not mention _anything_ about what error should be set where, even if the implementation already sets the odd one. Cc: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> |
||
---|---|---|
.. | ||
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 | ||
platform_x11_dri3.c | ||
platform_x11_dri3.h |