aboutsummaryrefslogtreecommitdiff
path: root/src/window
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-11 10:11:13 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-11 10:11:13 +0200
commitf1ede6cfa5cc2af2e7f93e29f2311e9ece7f41c4 (patch)
treeba950f55afed4678e74b30caab45cfda7a2d4d48 /src/window
parentf680ab5c3798b730e2e4efb7363ca15074e0499e (diff)
output debug message: gsr -> mgl
Diffstat (limited to 'src/window')
-rw-r--r--src/window/window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/window/window.c b/src/window/window.c
index 03bb45b..1f21e43 100644
--- a/src/window/window.c
+++ b/src/window/window.c
@@ -327,13 +327,13 @@ static bool x11_context_egl_init(x11_context_egl *self, bool alpha) {
self->egl_display = context->gl.eglGetDisplay((EGLNativeDisplayType)context->connection);
if(!self->egl_display) {
- fprintf(stderr, "gsr error: gsr_egl_create_window failed: eglGetDisplay failed\n");
+ fprintf(stderr, "mgl error: x11_context_egl_init failed: eglGetDisplay failed\n");
x11_context_egl_deinit(self);
return false;
}
if(!context->gl.eglInitialize(self->egl_display, NULL, NULL)) {
- fprintf(stderr, "gsr error: gsr_egl_create_window failed: eglInitialize failed\n");
+ fprintf(stderr, "mgl error: x11_context_egl_init failed: eglInitialize failed\n");
x11_context_egl_deinit(self);
return false;
}
@@ -345,7 +345,7 @@ static bool x11_context_egl_init(x11_context_egl *self, bool alpha) {
self->egl_context = context->gl.eglCreateContext(self->egl_display, self->ecfg, NULL, ctxattr);
if(!self->egl_context) {
- fprintf(stderr, "gsr error: gsr_egl_create_window failed: failed to create egl context\n");
+ fprintf(stderr, "mgl error: x11_context_egl_init failed: failed to create egl context\n");
x11_context_egl_deinit(self);
return false;
}
@@ -360,7 +360,7 @@ static bool x11_context_egl_make_context_current(x11_context_egl *self, Window w
if(!self->egl_surface) {
self->egl_surface = context->gl.eglCreateWindowSurface(self->egl_display, self->ecfg, (EGLNativeWindowType)window, NULL);
if(!self->egl_surface) {
- fprintf(stderr, "gsr error: x11_context_egl_make_context_current: failed to create window surface\n");
+ fprintf(stderr, "mgl error: x11_context_egl_make_context_current: failed to create window surface\n");
return false;
}
}