mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-03-26 21:15:18 +00:00
GDI+ bitmaps are stored as Bgra, not Rgba.
This commit is contained in:
parent
79c7f64f7f
commit
6e5056e7aa
|
@ -136,7 +136,7 @@ namespace OpenTK.Graphics
|
|||
GL.TexSubImage2D(TextureTarget.Texture2D, mipLevel,
|
||||
target.Left, target.Top,
|
||||
target.Width, target.Height,
|
||||
OpenTK.Graphics.PixelFormat.Rgba,
|
||||
OpenTK.Graphics.PixelFormat.Bgra,
|
||||
PixelType.UnsignedByte, data.Scan0);
|
||||
}
|
||||
finally
|
||||
|
|
Loading…
Reference in a new issue