Fixed PNG flipped upside down

This commit is contained in:
Robert Beckebans 2020-04-16 18:53:19 +02:00
parent 1972bcdad4
commit 93710bd694

View file

@ -761,6 +761,9 @@ static void LoadPNG( const char* filename, unsigned char** pic, int* width, int*
R_StaticFree( rowPointers );
Mem_Free( fbuffer );
// RB: PNG needs to be flipped to match the .tga behavior
R_VerticalFlip( *pic, *width, *height );
}