mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-03-04 17:49:46 +00:00
Flags type sizes
This commit is contained in:
parent
2e9752838d
commit
c41fcf5b19
|
@ -995,7 +995,7 @@ namespace SDL2
|
|||
/// An enumeration of window states.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum SDL_WindowFlags
|
||||
public enum SDL_WindowFlags : uint
|
||||
{
|
||||
SDL_WINDOW_FULLSCREEN = 0x00000001,
|
||||
SDL_WINDOW_OPENGL = 0x00000002,
|
||||
|
@ -1633,7 +1633,7 @@ namespace SDL2
|
|||
#region SDL_render.h
|
||||
|
||||
[Flags]
|
||||
public enum SDL_RendererFlags
|
||||
public enum SDL_RendererFlags : uint
|
||||
{
|
||||
SDL_RENDERER_SOFTWARE = 0x00000001,
|
||||
SDL_RENDERER_ACCELERATED = 0x00000002,
|
||||
|
@ -1680,7 +1680,7 @@ namespace SDL2
|
|||
public static extern IntPtr SDL_CreateRenderer(
|
||||
IntPtr window,
|
||||
int index,
|
||||
uint flags
|
||||
SDL_RendererFlags flags
|
||||
);
|
||||
|
||||
/* IntPtr refers to an SDL_Renderer*, surface to an SDL_Surface* */
|
||||
|
|
Loading…
Reference in a new issue