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

From the EGL_MESA_platform_gbm spec, version 5:

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

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