aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2025-10-12 22:12:28 +0200
committerAndre Weissflog <floooh@gmail.com>2025-10-12 22:12:28 +0200
commite1baaef1bcaaf3a838453b54898c822c8b494bce (patch)
tree5b30604315cad68531914c23db5ba4feee587b6c
parent57d6e928fcec00cf747d6734261487228e29da56 (diff)
sokol_app.h linux egl: fixes for sapp_desc struct changes
-rw-r--r--sokol_app.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sokol_app.h b/sokol_app.h
index 89b9bef0..f9c2a522 100644
--- a/sokol_app.h
+++ b/sokol_app.h
@@ -12869,8 +12869,8 @@ _SOKOL_PRIVATE void _sapp_egl_init(void) {
}
EGLint ctx_attrs[] = {
- EGL_CONTEXT_MAJOR_VERSION, _sapp.desc.gl_major_version,
- EGL_CONTEXT_MINOR_VERSION, _sapp.desc.gl_minor_version,
+ EGL_CONTEXT_MAJOR_VERSION, _sapp.desc.gl.major_version,
+ EGL_CONTEXT_MINOR_VERSION, _sapp.desc.gl.minor_version,
#if defined(SOKOL_GLCORE)
EGL_CONTEXT_OPENGL_PROFILE_MASK, EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT,
#endif