mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-15 07:00:58 +00:00
Fixed PNG flipped upside down
This commit is contained in:
parent
1972bcdad4
commit
93710bd694
1 changed files with 3 additions and 0 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue