From 4e7226ad1b081982e5cbed349edca1c5b0e1b779 Mon Sep 17 00:00:00 2001 From: realtradam Date: Fri, 25 Nov 2022 02:55:55 -0500 Subject: fixed Makefile, implemented bunnymark --- src/texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/texture.cpp') diff --git a/src/texture.cpp b/src/texture.cpp index e9a49ce..0697e28 100644 --- a/src/texture.cpp +++ b/src/texture.cpp @@ -15,7 +15,7 @@ Texture::Texture(const char* texture_path) glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); int width, height, nrChannels; - stbi_set_flip_vertically_on_load(true); + //stbi_set_flip_vertically_on_load(true); unsigned char *data = stbi_load(texture_path, &width, &height, &nrChannels, 0); if (data) { -- cgit v1.2.3