diff options
| author | iamcheeseman <[email protected]> | 2026-05-10 16:51:01 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-05-10 16:51:01 -0400 |
| commit | 066bfe5cbd3b2d1cfe36c26d49971f3acfe30f72 (patch) | |
| tree | c38f3bf3ca178fb0d3d989134fb5f912d7c48291 | |
| parent | 0ab5229e6bf86bead5e5ca7e0903f23246eca02e (diff) | |
adjust log capitializing
standards for this project are camel cased logging message. Like this:
sentence 1. Sentence 2
| -rw-r--r-- | dc/dc.c | 2 | ||||
| -rw-r--r-- | platform/gl/gl.c | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -25,7 +25,7 @@ int main(void) qoi_desc desc; void *data = qoi_read("test_img.qoi", &desc, 3); if (!data) - ty_log_fatal(TY_ERR_IO, "Failed to read image"); + ty_log_fatal(TY_ERR_IO, "failed to read image"); struct ty_image img = ty_create_image(desc.width, desc.height, data); free(data); diff --git a/platform/gl/gl.c b/platform/gl/gl.c index 61bcf4d..1045632 100644 --- a/platform/gl/gl.c +++ b/platform/gl/gl.c @@ -69,7 +69,7 @@ void ty_platform_init(struct ty_ctx *ctx) { ty_log_info("initializing GLFW..."); if (glfwInit() < 0) - ty_log_fatal(TY_PLATFORM_ERR, "Could not init GLFW"); + ty_log_fatal(TY_PLATFORM_ERR, "could not init GLFW"); glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); @@ -84,13 +84,13 @@ void ty_platform_init(struct ty_ctx *ctx) ); if (!p.win) - ty_log_fatal(TY_PLATFORM_ERR, "Could not init GLFW window"); + ty_log_fatal(TY_PLATFORM_ERR, "could not init GLFW window"); glfwMakeContextCurrent(p.win); ty_log_info("initializing GLAD..."); if (!gladLoadGLLoader((GLADloadproc)glfwGetProcAddress)) - ty_log_fatal(TY_PLATFORM_ERR, "Could not init GLAD"); + ty_log_fatal(TY_PLATFORM_ERR, "could not init GLAD"); struct ty_vec2 vertices[] = { ty_vec2(-1, -1), ty_vec2(0, 1), |
