macOS fixes

This commit is contained in:
Jérôme Leclercq
2022-03-20 10:02:31 +01:00
parent cfe136796c
commit a6dce6861d
5 changed files with 18 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ namespace Nz
{
Invalid,
Cocoa,
X11,
Wayland,
Windows
@@ -27,6 +28,11 @@ namespace Nz
union
{
struct
{
void* window; //< NSWindow*
} cocoa;
struct
{
void* display; //< Display*