Watch
2
0
Fork
You've already forked raylib-cs
0

Fixed error with IsWindowFullscreen.

- Changed IsWindowFullscreen return from void to bool.
This commit is contained in:
Rgebee 2020-04-27 17:46:22 +01:00
commit bbda84cafb

View file

@ -1213,7 +1213,8 @@ namespace Raylib_cs
// Check if window is currently fullscreen // Check if window is currently fullscreen
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void IsWindowFullscreen(); [return: MarshalAs(UnmanagedType.I1)]
public static extern bool IsWindowFullscreen();
// Toggle fullscreen mode (only PLATFORM_DESKTOP) // Toggle fullscreen mode (only PLATFORM_DESKTOP)
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]