macOS fixes
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Nz::GL
|
||||
EGLContextWin32(EGLContextWin32&&) = default;
|
||||
~EGLContextWin32() = default;
|
||||
|
||||
bool Create(const ContextParams& params, const EGLContextBase* shareContext = nullptr);
|
||||
bool Create(const ContextParams& params, const EGLContextBase* shareContext = nullptr) override;
|
||||
bool Create(const ContextParams& params, WindowHandle window, const EGLContextBase* shareContext = nullptr) override;
|
||||
void Destroy() override;
|
||||
|
||||
|
||||
@@ -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*
|
||||
|
||||
Reference in New Issue
Block a user