From 7abfa5fd65ee42df0360b2b496e9b4375aec8ce2 Mon Sep 17 00:00:00 2001 From: Viktor Walter Date: Wed, 28 Feb 2024 15:53:24 +0100 Subject: [PATCH] Fixing surface param --- include/compute_lib/compute_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/compute_lib/compute_lib.c b/include/compute_lib/compute_lib.c index b024431..562ddb7 100644 --- a/include/compute_lib/compute_lib.c +++ b/include/compute_lib/compute_lib.c @@ -5,7 +5,7 @@ static const EGLint egl_config_attribs_gbm[] = { EGL_RENDERABLE_TYPE, EGL_OPENGL_ES3_BIT_KHR, EGL_NONE }; static const EGLint egl_config_attribs_surfaceless[] = { - EGL_SURFACE_TYPE, EGL_OPENGL_ES3_BIT_KHR, + EGL_SURFACE_TYPE, EGL_PBUFFER_BIT, EGL_RENDERABLE_TYPE, EGL_OPENGL_ES3_BIT_KHR, GL_NONE }; static const EGLint egl_ctx_attribs[] = {