From 066bfe5cbd3b2d1cfe36c26d49971f3acfe30f72 Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Sun, 10 May 2026 16:51:01 -0400 Subject: adjust log capitializing standards for this project are camel cased logging message. Like this: sentence 1. Sentence 2 --- dc/dc.c | 2 +- platform/gl/gl.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dc/dc.c b/dc/dc.c index 942174b..83cf1d9 100644 --- a/dc/dc.c +++ b/dc/dc.c @@ -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), -- cgit v1.3-2-g0d8e