mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-01-05 17:05:40 +00:00
Add NULL overload to SDL_SetWindowDisplayMode
This commit is contained in:
parent
b2ed029f11
commit
d5e1e56983
|
@ -1943,6 +1943,14 @@ namespace SDL2
|
||||||
ref SDL_DisplayMode mode
|
ref SDL_DisplayMode mode
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/* window refers to an SDL_Window* */
|
||||||
|
/* NULL overload - use the window's dimensions and the desktop's format and refresh rate */
|
||||||
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
public static extern int SDL_SetWindowDisplayMode(
|
||||||
|
IntPtr window,
|
||||||
|
IntPtr mode
|
||||||
|
);
|
||||||
|
|
||||||
/* window refers to an SDL_Window* */
|
/* window refers to an SDL_Window* */
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern int SDL_SetWindowFullscreen(
|
public static extern int SDL_SetWindowFullscreen(
|
||||||
|
|
Loading…
Reference in a new issue