mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-18 22:41:46 +00:00
Flip GDI bitmap in model loading before feeding it to OpenGL
This commit is contained in:
parent
4de0d96d13
commit
2bce3f06a4
1 changed files with 1 additions and 0 deletions
|
@ -1655,6 +1655,7 @@ namespace CodeImp.DoomBuilder.GZBuilder.MD3
|
||||||
//create texture
|
//create texture
|
||||||
FileImageReader fir = new FileImageReader();
|
FileImageReader fir = new FileImageReader();
|
||||||
Bitmap bitmap = fir.ReadAsBitmap(ms);
|
Bitmap bitmap = fir.ReadAsBitmap(ms);
|
||||||
|
bitmap.RotateFlip(RotateFlipType.RotateNoneFlipY);
|
||||||
ms.Close();
|
ms.Close();
|
||||||
|
|
||||||
if(bitmap != null)
|
if(bitmap != null)
|
||||||
|
|
Loading…
Reference in a new issue