mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-02 11:01:07 +00:00
Fixed decoding of Icons
The rgba mask for decoding icon surfaces was incorrect. Icons should appear as expected now.
This commit is contained in:
parent
6245ffe3ef
commit
420ec232f3
|
@ -419,7 +419,7 @@ namespace OpenTK.Platform.SDL2
|
|||
|
||||
surface = SDL.SDL_CreateRGBSurfaceFrom(
|
||||
data.Scan0, data.Width, data.Height, 32, data.Width * 4,
|
||||
0x0000ff00u, 0x00ff0000u, 0xff000000u, 0x000000ffu);
|
||||
0x00ff0000u, 0x0000ff00u, 0x000000ffu, 0xff000000u);
|
||||
|
||||
bmp.UnlockBits(data);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue