  	EGL_RED_SIZE, 1,
  	EGL_GREEN_SIZE, 1,
  	EGL_BLUE_SIZE, 1,
-@@ -2927,7 +2927,7 @@ static const EGLint gl_renderer_opaque_attribs[] = {
+@@ -3273,7 +3273,7 @@ static const EGLint gl_renderer_opaque_attribs[] = {
  };
  
  static const EGLint gl_renderer_alpha_attribs[] = {

 	EGL_RED_SIZE, 1,
 	EGL_GREEN_SIZE, 1,
 	EGL_BLUE_SIZE, 1,
@@ -3030,17 +3030,7 @@ output_handle_destroy(struct wl_listener *listener, void *data)
 
 static int
 gl_renderer_create_pbuffer_surface(struct gl_renderer *gr) {

From d998dccafaf004a5c0d2c4265e74728e8fefd882 Mon Sep 17 00:00:00 2001
From: Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com>
Date: Mon, 4 Mar 2019 10:58:03 -0800
Subject: [PATCH] gl-renderer.c: Use gr->egl_config to create pbuffer surface

The original implementation always chose first egl config for pbuffer
