diff options
| author | realtradam <[email protected]> | 2022-11-25 02:55:55 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2022-11-25 02:55:55 -0500 |
| commit | 4e7226ad1b081982e5cbed349edca1c5b0e1b779 (patch) | |
| tree | 6d497896f979e6bbcb0841d33d3a2815333cfef9 /src/texture.cpp | |
| parent | 6e1d0c6a3f3699e44000f411cd93261c460f75a9 (diff) | |
| download | Ogle-4e7226ad1b081982e5cbed349edca1c5b0e1b779.tar.gz Ogle-4e7226ad1b081982e5cbed349edca1c5b0e1b779.zip | |
fixed Makefile, implemented bunnymark
Diffstat (limited to 'src/texture.cpp')
| -rw-r--r-- | src/texture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
