Skip to content

Commit

Permalink
Parameters are able to start up the compute lib, but not yet to make …
Browse files Browse the repository at this point in the history
…it work
  • Loading branch information
ViktorWalter committed Feb 28, 2024
1 parent 7abfa5f commit 0de96d4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions include/compute_lib/compute_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ 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_PBUFFER_BIT,
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES3_BIT_KHR,
GL_NONE };
EGL_SURFACE_TYPE, EGL_PBUFFER_BIT,
EGL_RENDERABLE_TYPE, EGL_OPENGL_BIT,
EGL_BLUE_SIZE, 8,
EGL_GREEN_SIZE, 8,
EGL_RED_SIZE, 8,
EGL_DEPTH_SIZE, 8,
EGL_NONE };
static const EGLint egl_ctx_attribs[] = {
EGL_CONTEXT_CLIENT_VERSION, 3,
EGL_NONE };
Expand Down

0 comments on commit 0de96d4

Please sign in to comment.