summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-04-28 10:20:08 -0400
committerAndrew Opalach <andrew@akon.city> 2025-04-28 10:20:08 -0400
commite2304d573cbfa5fe3076b0f702e384bcf7229695 (patch)
tree330400699e61dd0837da4131303367a9b62ce08f /src
parent10fe1253ffdc3ffc775226291a87159a626e4823 (diff)
downloadstela-e2304d573cbfa5fe3076b0f702e384bcf7229695.tar.gz
stela-e2304d573cbfa5fe3076b0f702e384bcf7229695.tar.bz2
stela-e2304d573cbfa5fe3076b0f702e384bcf7229695.zip
Update deps, tweak some log messages
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src')
-rw-r--r--src/egl_common.c8
-rw-r--r--src/window_wayland.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/egl_common.c b/src/egl_common.c
index cfb2f23..d77e6cb 100644
--- a/src/egl_common.c
+++ b/src/egl_common.c
@@ -36,7 +36,7 @@ bool stl_load_egl(struct stl_egl_global *global)
log_error("Failed to initialize.");
return false;
}
- log_info("Initialized EGL version %d.%d.", major, minor);
+ log_debug("eglInitialize()'d version %d.%d.", major, minor);
#ifdef STELA_USE_GLAD
s32 egl_version = gladLoaderLoadEGL(global->display);
@@ -141,7 +141,7 @@ bool stl_init_egl_context(struct stl_egl *egl, struct stl_egl_global *global, EG
continue;
}
- log_info("Trying to create a %s context of version %i.%i (GLSL %i).",
+ log_debug("Trying to create a %s context of version %i.%i (GLSL %i).",
stl_gl_vers[i].api == STELA_GL_API ? "GL" : "GLES",
stl_gl_vers[i].major, stl_gl_vers[i].minor, stl_gl_vers[i].glsl_ver);
@@ -150,13 +150,13 @@ bool stl_init_egl_context(struct stl_egl *egl, struct stl_egl_global *global, EG
if (egl->context == EGL_NO_CONTEXT) {
continue;
} else {
- log_info("Context successfully created.");
+ log_debug("Context successfully created.");
break;
}
}
if (egl->context == EGL_NO_CONTEXT) {
- log_info("Failed to create context.");
+ log_error("Failed to create context.");
return false;
}
diff --git a/src/window_wayland.c b/src/window_wayland.c
index ff5875b..b9ac67d 100644
--- a/src/window_wayland.c
+++ b/src/window_wayland.c
@@ -56,7 +56,7 @@ static void handle_output_done(void *data, struct wl_output *output)
{
struct stl_monitor_wayland *monitor = (struct stl_monitor_wayland *)data;
(void)output;
- log_info("Output discovered: %s (%ux%u) (vertical: %s).",
+ log_debug("Output discovered: %s (%ux%u) (vertical: %s).",
monitor->m.name, monitor->m.width, monitor->m.height, BOOLSTR(monitor->m.vertical));
if (global.output_discovered) {
global.output_discovered(global.userdata, (struct stl_monitor *)monitor);