aboutsummaryrefslogtreecommitdiff
path: root/src/egl.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-06-23 01:41:26 +0200
committerdec05eba <dec05eba@protonmail.com>2024-06-23 01:41:26 +0200
commitdcae815a5e1a6205f9d35bbfe0bba0f650c1d0eb (patch)
tree826aa2031f984e054c960c573b5b62820e74dd6b /src/egl.c
parent26750f320fcb19fd5fa199bc935d7f5b0ea13c55 (diff)
Update appdata
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 b574f90..79aab1f 100644
--- a/src/egl.c
+++ b/src/egl.c
@@ -210,7 +210,7 @@ static bool gsr_egl_create_window(gsr_egl *self, bool wayland) {
}
static bool gsr_egl_load_egl(gsr_egl *self, void *library) {
- dlsym_assign required_dlsym[] = {
+ const dlsym_assign required_dlsym[] = {
{ (void**)&self->eglGetDisplay, "eglGetDisplay" },
{ (void**)&self->eglInitialize, "eglInitialize" },
{ (void**)&self->eglTerminate, "eglTerminate" },
@@ -235,7 +235,7 @@ static bool gsr_egl_load_egl(gsr_egl *self, void *library) {
}
static bool gsr_egl_load_gl(gsr_egl *self, void *library) {
- dlsym_assign required_dlsym[] = {
+ const dlsym_assign required_dlsym[] = {
{ (void**)&self->glGetString, "glGetString" },
{ NULL, NULL }