Skip to content
Snippets Groups Projects
Commit 5e97b8f5 authored by Lina Versace's avatar Lina Versace
Browse files

egl: Fix crashes in eglCreate*Surface()


Don't dereference a null EGLDisplay.

Fixes tests
  dEQP-EGL.functional.negative_api.create_pbuffer_surface
  dEQP-EGL.functional.negative_api.create_pixmap_surface

Reviewed-by: default avatarMark Janes <mark.a.janes@intel.com>
Reviewed-by: default avatarTapani Pälli <tapani.palli@intel.com>
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=99038
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
parent b18cd8ce
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment