Flags type sizes

This commit is contained in:
Ethan Lee 2015-09-02 07:12:10 -04:00
parent 2e9752838d
commit c41fcf5b19

View File

@ -995,7 +995,7 @@ namespace SDL2
/// An enumeration of window states. /// An enumeration of window states.
/// </summary> /// </summary>
[Flags] [Flags]
public enum SDL_WindowFlags public enum SDL_WindowFlags : uint
{ {
SDL_WINDOW_FULLSCREEN = 0x00000001, SDL_WINDOW_FULLSCREEN = 0x00000001,
SDL_WINDOW_OPENGL = 0x00000002, SDL_WINDOW_OPENGL = 0x00000002,
@ -1633,7 +1633,7 @@ namespace SDL2
#region SDL_render.h #region SDL_render.h
[Flags] [Flags]
public enum SDL_RendererFlags public enum SDL_RendererFlags : uint
{ {
SDL_RENDERER_SOFTWARE = 0x00000001, SDL_RENDERER_SOFTWARE = 0x00000001,
SDL_RENDERER_ACCELERATED = 0x00000002, SDL_RENDERER_ACCELERATED = 0x00000002,
@ -1680,7 +1680,7 @@ namespace SDL2
public static extern IntPtr SDL_CreateRenderer( public static extern IntPtr SDL_CreateRenderer(
IntPtr window, IntPtr window,
int index, int index,
uint flags SDL_RendererFlags flags
); );
/* IntPtr refers to an SDL_Renderer*, surface to an SDL_Surface* */ /* IntPtr refers to an SDL_Renderer*, surface to an SDL_Surface* */