mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-06-30 19:03:42 -04:00
Fixed error with IsWindowFullscreen.
- Changed IsWindowFullscreen return from void to bool.
This commit is contained in:
@ -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)]
|
||||||
|
Reference in New Issue
Block a user