Test: CtsDisplayTestCases pass

Signed-off-by: samiuddi <sami.uddin.moham...@intel.com>
---
 src/egl/drivers/dri2/platform_android.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/egl/drivers/dri2/platform_android.c 
b/src/egl/drivers/dri2/platform_android.c
index 976dd10..5048830 100644
--- a/src/egl/drivers/dri2/platform_android.c
+++ b/src/egl/drivers/dri2/platform_android.c
@@ -480,6 +480,9 @@ static EGLBoolean
 droid_swap_interval(_EGLDriver *drv, _EGLDisplay *dpy,
                    _EGLSurface *surf, EGLint interval)
 {
+   if (surf->Type == EGL_PBUFFER_BIT)
+      return EGL_FALSE;
+
    struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf);
    struct ANativeWindow *window = dri2_surf->window;
 
-- 
2.7.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to