summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gfx/src/render/texture.c2
1 files changed, 1 insertions, 1 deletions
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) {
13 13
14 glGenTextures(1, &texture->id); 14 glGenTextures(1, &texture->id);
15 if (!texture->id) { 15 if (!texture->id) {
16 set_error("glGenTextures() failed"); 16 log_error("glGenTextures() failed");
17 return false; 17 return false;
18 } 18 }
19 texture->target = to_GL_dimension(desc->dimension); 19 texture->target = to_GL_dimension(desc->dimension);