diff options
-rw-r--r-- | gfx/image.cpp | 1 | ||||
-rw-r--r-- | res/terrain.png | bin | 39355 -> 39758 bytes |
2 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) { diff --git a/res/terrain.png b/res/terrain.png Binary files differindex ef30553..50d9168 100644 --- a/res/terrain.png +++ b/res/terrain.png |