You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenGL loads textures upside down by default, and the Texture.cs texture is not flipped before it is loaded. When you run the application this causes the textures to be rendered upside down.
Putting this on line 27 should fix this problem:
image.RotateFlip(RotateFlipType.RotateNoneFlipY);
The text was updated successfully, but these errors were encountered:
Journeyman1337
changed the title
Texture.cs class loads image upside down
Texture.cs class loads Textures upside down
Mar 27, 2020
OpenGL loads textures upside down by default, and the Texture.cs texture is not flipped before it is loaded. When you run the application this causes the textures to be rendered upside down.
Putting this on line 27 should fix this problem:
image.RotateFlip(RotateFlipType.RotateNoneFlipY);
The text was updated successfully, but these errors were encountered: