aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}