egl/wayland: Emit EGL_BAD_PARAMETER for eglCreatePlatformPixmapSurface
authorChad Versace <chad.versace@linux.intel.com>
Sun, 9 Feb 2014 17:13:27 +0000 (09:13 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Mon, 17 Mar 2014 22:39:23 +0000 (15:39 -0700)
commit9a40ee16d0be3a08ac2f467311673f4b9333191d
treec9d018f5f2e948b36de3942dd19758b4bfdab3fd
parent1787f5632fa40a67e29dc99dc4ff7515b169793b
egl/wayland: Emit EGL_BAD_PARAMETER for eglCreatePlatformPixmapSurface

From the EGL_EXT_wayland_spec, version 3:

  It is not valid to call eglCreatePlatformPixmapSurfaceEXT with a <dpy>
  that belongs to Wayland. Any such call fails and generates
  EGL_BAD_PARAMETER.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/egl/drivers/dri2/platform_wayland.c