From f0d05c8ec8548a00bd9ff3fb76f0c8bc785e2299 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Tue, 22 Jun 2021 15:10:56 +0700 Subject: Fix gibberish text Technically other textures are still upside-down though. --- src/Textures.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Textures.cpp') diff --git a/src/Textures.cpp b/src/Textures.cpp index 3c1bcca..9e22c87 100644 --- a/src/Textures.cpp +++ b/src/Textures.cpp @@ -70,6 +70,6 @@ GLuint loadTexture(const char* filename_, GLenum minFilter, gluBuild2DMipmaps(GL_TEXTURE_2D, internal_format, width, height, pixel_format, GL_UNSIGNED_BYTE, data); - // stbi_image_free(data); + stbi_image_free(data); return tex; } -- cgit 1.4.1