[Platform] Renamed MouseCursor.Rgba to Argb

This matches the default format of System.Drawing.Bitmap.
This commit is contained in:
thefiddler 2014-04-30 08:38:57 +02:00
parent 7d8f14baa7
commit 890805f2ae
3 changed files with 3 additions and 3 deletions

View file

@ -493,7 +493,7 @@ namespace OpenTK.Platform.SDL2
// the rgba values supplied by the user
unsafe
{
fixed (byte* pixels = value.Rgba)
fixed (byte* pixels = value.Argb)
{
IntPtr cursor_surface =
SDL.CreateRGBSurfaceFrom(

View file

@ -1219,7 +1219,7 @@ namespace OpenTK.Platform.Windows
Bitmap bmp;
unsafe
{
fixed (byte* pixels = value.Rgba)
fixed (byte* pixels = value.Argb)
{
bmp = new Bitmap(value.Width, value.Height, stride,
System.Drawing.Imaging.PixelFormat.Format32bppArgb,

View file

@ -1483,7 +1483,7 @@ namespace OpenTK.Platform.X11
}
else
{
fixed(byte* pixels = value.Rgba)
fixed(byte* pixels = value.Argb)
{
var xcursorimage = Functions.XcursorImageCreate(value.Width, value.Height);
xcursorimage->xhot = (uint)value.X;