From f48520c10ba822e13ef119f626b85fc081f96124 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Tue, 25 Aug 2026 19:48:15 -0400 Subject: Raw input + drag and drop on Windows, cleanup Signed-off-by: Andrew Opalach --- src/egl_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/egl_common.c') diff --git a/src/egl_common.c b/src/egl_common.c index 8f02afa..eb01492 100644 --- a/src/egl_common.c +++ b/src/egl_common.c @@ -122,7 +122,7 @@ bool stl_init_egl_context(struct stl_egl *egl, struct stl_egl_global *global, EG STELA_LOG_GL_CONTEXT_CREATION(stl_gl_vers[i]); - const EGLint *context_attr = stl_gl_vers[i].api == STELA_GL_API ? + const EGLint *context_attr = (stl_gl_vers[i].api == STELA_GL_API) ? context_attr_gl : context_attr_gles; eglBindAPI(stl_gl_vers[i].api); -- cgit v1.2.3-101-g0448