diff options
Diffstat (limited to 'gfx')
-rw-r--r-- | gfx/image.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/image.cpp b/gfx/image.cpp index 20c862f..1fe2d31 100644 --- a/gfx/image.cpp +++ b/gfx/image.cpp @@ -5,6 +5,7 @@ Image::Image(const char * fileName, int flags) : width {}, height {}, numComponents {} { + stbi_set_flip_vertically_on_load(1); unsigned char * bytes = stbi_load(fileName, &width, &height, &numComponents, flags); if (!bytes) { |