From 08c3a16f97377826d7993a9f0f91076cf4214cfd Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Thu, 4 Apr 2013 09:57:43 -0400 Subject: [PATCH] Because lol, C# structs --- src/SDL2.cs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/SDL2.cs b/src/SDL2.cs index 6ed8118..12b64f1 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -1751,18 +1751,18 @@ namespace SDL2 [StructLayout(LayoutKind.Sequential)] public struct SDL_Surface { - uint flags; - IntPtr format; // SDL_PixelFormat* - int w; - int h; - int pitch; - IntPtr pixels; // void* - IntPtr userdata; // void* - int locked; - IntPtr lock_data; // void* - SDL_Rect clip_rect; - IntPtr map; // SDL_BlitMap* - int refcount; + public uint flags; + public IntPtr format; // SDL_PixelFormat* + public int w; + public int h; + public int pitch; + public IntPtr pixels; // void* + public IntPtr userdata; // void* + public int locked; + public IntPtr lock_data; // void* + public SDL_Rect clip_rect; + public IntPtr map; // SDL_BlitMap* + public int refcount; } /* TODO: SDL_surface.h: