diff options
| author | 2026-08-25 19:48:15 -0400 | |
|---|---|---|
| committer | 2026-08-25 19:48:15 -0400 | |
| commit | f48520c10ba822e13ef119f626b85fc081f96124 (patch) | |
| tree | 8672a171b616b82feb74478d29f4205cf06488e9 /src/egl_common.c | |
| parent | a35c47d401335e81f25c2c78611dcb7785f703da (diff) | |
| download | stela-f48520c10ba822e13ef119f626b85fc081f96124.tar.gz stela-f48520c10ba822e13ef119f626b85fc081f96124.tar.bz2 stela-f48520c10ba822e13ef119f626b85fc081f96124.zip | |
Raw input + drag and drop on Windows, cleanup
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/egl_common.c')
| -rw-r--r-- | src/egl_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |