From bf6767541c4922bf2574aed12da7087c33ff3bc6 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sun, 25 Feb 2024 16:01:07 -0800 Subject: Use new error function. --- gfx/src/render/texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/src/render/texture.c b/gfx/src/render/texture.c index fd1d4dd..89f7ec0 100644 --- a/gfx/src/render/texture.c +++ b/gfx/src/render/texture.c @@ -13,7 +13,7 @@ bool gfx_init_texture(Texture* texture, const TextureDesc* desc) { glGenTextures(1, &texture->id); if (!texture->id) { - set_error("glGenTextures() failed"); + log_error("glGenTextures() failed"); return false; } texture->target = to_GL_dimension(desc->dimension); -- cgit v1.2.3