From d3644b5a831adfe04be75ea4ccfcd78680342cfd Mon Sep 17 00:00:00 2001 From: Robert Beckebans Date: Mon, 20 Apr 2020 20:49:46 +0200 Subject: [PATCH] Don't flip PNG files vertically for wrong converted .tga files --- neo/renderer/Image_files.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neo/renderer/Image_files.cpp b/neo/renderer/Image_files.cpp index a5003c85..2cb019e2 100644 --- a/neo/renderer/Image_files.cpp +++ b/neo/renderer/Image_files.cpp @@ -763,7 +763,8 @@ static void LoadPNG( const char* filename, unsigned char** pic, int* width, int* Mem_Free( fbuffer ); // RB: PNG needs to be flipped to match the .tga behavior - R_VerticalFlip( *pic, *width, *height ); + // edit: this is wrong and flips images UV mapped in Blender 2.83 + //R_VerticalFlip( *pic, *width, *height ); }