mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Made compilable on non-Windows machines
This commit is contained in:
parent
f998ba4b45
commit
7701485fd4
1 changed files with 4 additions and 0 deletions
|
@ -5122,12 +5122,14 @@ namespace SDL2
|
|||
}
|
||||
|
||||
// FIXME: I wish these weren't public...
|
||||
#if BF_PLATFORM_WINDOWS
|
||||
[CRepr]
|
||||
public struct INTERNAL_windows_wminfo
|
||||
{
|
||||
public Windows.HWnd window; // Refers to an HWND
|
||||
public Windows.Handle hdc; // Refers to an HDC
|
||||
}
|
||||
#endif
|
||||
|
||||
[CRepr]
|
||||
public struct INTERNAL_winrt_wminfo
|
||||
|
@ -5190,7 +5192,9 @@ namespace SDL2
|
|||
[CRepr, Union]
|
||||
public struct INTERNAL_SysWMDriverUnion
|
||||
{
|
||||
#if BF_PLATFORM_WINDOWS
|
||||
public INTERNAL_windows_wminfo win;
|
||||
#endif
|
||||
public INTERNAL_winrt_wminfo winrt;
|
||||
public INTERNAL_x11_wminfo x11;
|
||||
public INTERNAL_directfb_wminfo dfb;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue