egl: make eglSwapBuffers* a no-op for !window surfaces
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 3 Sep 2018 12:05:23 +0000 (13:05 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 3 Oct 2018 12:38:05 +0000 (13:38 +0100)
commit8f66743ca2cd781e912a3998196bf2ef1b9f8f4c
treedd1e6258162b9240dea649bef3e8142149cf3041
parent64b4ccde0cab4bbabba8abbf206ec5aa53399821
egl: make eglSwapBuffers* a no-op for !window surfaces

Analogous to the previous commit - the spec says the function is a
no-op when a pbuffer or pixmap surface is used.

Cc: samiuddi <sami.uddin.mohammad@intel.com>
Cc: Erik Faye-Lund <kusmabite@gmail.com>
Cc: Tomasz Figa <tfiga@chromium.org>
Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/egl/main/eglapi.c