aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dc/dc.c2
-rw-r--r--platform/gl/gl.c6
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),