aboutsummaryrefslogtreecommitdiff
path: root/src/graphics/texture.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-09-23 21:10:08 +0200
committerdec05eba <dec05eba@protonmail.com>2022-09-23 21:10:08 +0200
commita5524a7e3e8248a5a4baa8af62a1a758f1d07e7f (patch)
tree3dbb25931e1b9e3b2ba7f73d73eaf4933972ae3e /src/graphics/texture.c
parent14e28f6107d9e9bae81eeee8d0a22abdc256a295 (diff)
Make window rgba and set background transparent to allow window clear to work with transparency
Diffstat (limited to 'src/graphics/texture.c')
-rw-r--r--src/graphics/texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics/texture.c b/src/graphics/texture.c
index fb8c1e5..128d910 100644
--- a/src/graphics/texture.c
+++ b/src/graphics/texture.c
@@ -63,7 +63,7 @@ int mgl_texture_init(mgl_texture *self) {
mgl_context *context = mgl_get_context();
context->gl.glGenTextures(1, &self->id);
if(self->id == 0) {
- fprintf(stderr, "Error: failed to init texture (glGenTextures failed)\n");
+ fprintf(stderr, "mgl error: failed to init texture (glGenTextures failed)\n");
return -1;
}