summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-06-22 15:10:56 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-06-22 15:13:42 +0700
commitf0d05c8ec8548a00bd9ff3fb76f0c8bc785e2299 (patch)
tree8d04208722620cf1a7af0d93946472ca8bae4ea3 /src
parentf673971c50ca968d3ddb16b780a389f5627418e2 (diff)
downloadblackshades-1.3.0.tar.gz
Fix gibberish text 1.3.0
Technically other textures are still upside-down though.
Diffstat (limited to 'src')
-rw-r--r--src/Textures.cpp2
1 files changed, 1 insertions, 1 deletions
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;
 }