summaryrefslogtreecommitdiff
path: root/src/egl.c
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2021-10-26 23:15:46 +0100
committerPhil Jones <philj56@gmail.com>2021-10-26 23:15:46 +0100
commit42679f7e53364e8de8de665ac7ba9b7e2dd1970b (patch)
tree14e145ea833097aba91f516f4cd124e49f5a2a14 /src/egl.c
parentc1e7ea47b25cdf7bf316ce522f9aa438b0b657c7 (diff)
Add PNG background.
Diffstat (limited to 'src/egl.c')
-rw-r--r--src/egl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl.c b/src/egl.c
index bd45413..363ecb8 100644
--- a/src/egl.c
+++ b/src/egl.c
@@ -38,7 +38,7 @@ void egl_create_context(struct client_state *state)
EGLint num_configs;
static const EGLint config_attribs[] = {
EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
- EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
+ EGL_RENDERABLE_TYPE, EGL_OPENGL_ES3_BIT,
EGL_RED_SIZE, 8,
EGL_GREEN_SIZE, 8,
EGL_BLUE_SIZE, 8,
@@ -64,7 +64,7 @@ void egl_create_context(struct client_state *state)
}
static const EGLint context_attribs[] = {
- EGL_CONTEXT_MAJOR_VERSION, 2,
+ EGL_CONTEXT_MAJOR_VERSION, 3,
EGL_NONE
};