From: Tapani Pälli Date: Thu, 20 Oct 2016 16:57:01 +0000 (+0300) Subject: Revert "egl/android: Set EGL_MAX_PBUFFER_WIDTH and EGL_MAX_PBUFFER_HEIGHT" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ef787339774bc7f1cc9c1615722f944005e070c;p=mesa.git Revert "egl/android: Set EGL_MAX_PBUFFER_WIDTH and EGL_MAX_PBUFFER_HEIGHT" This reverts commit b1d636aa007c0c354a217024b4befe15cfb5149f, previous commit sets these values for all egl configs. Signed-off-by: Tapani Pälli Cc: "12.0 13.0" Suggested-by: Emil Velikov Reviewed-by: Emil Velikov --- diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c index 2dcc5b552bf..cf60f1d6ba2 100644 --- a/src/egl/drivers/dri2/platform_android.c +++ b/src/egl/drivers/dri2/platform_android.c @@ -766,8 +766,6 @@ droid_add_configs_for_visuals(_EGLDriver *drv, _EGLDisplay *dpy) EGL_NATIVE_VISUAL_TYPE, 0, EGL_FRAMEBUFFER_TARGET_ANDROID, EGL_TRUE, EGL_RECORDABLE_ANDROID, EGL_TRUE, - EGL_MAX_PBUFFER_WIDTH, _EGL_MAX_PBUFFER_WIDTH, - EGL_MAX_PBUFFER_HEIGHT, _EGL_MAX_PBUFFER_HEIGHT, EGL_NONE }; unsigned int format_count[ARRAY_SIZE(visuals)] = { 0 };