Mac impl progress

This commit is contained in:
Wojtek Figat
2021-12-28 18:45:40 +01:00
parent a1ef7ddcf7
commit 378ddc66c7
12 changed files with 111 additions and 326 deletions

View File

@@ -3,6 +3,7 @@
#if PLATFORM_MAC
#include "../Window.h"
#include "Engine/Graphics/RenderTask.h"
MacWindow::MacWindow(const CreateWindowSettings& settings)
: WindowBase(settings)
@@ -91,13 +92,4 @@ void MacWindow::SetIsFullscreen(bool isFullscreen)
{
}
void MacWindow::GetScreenInfo(int32& x, int32& y, int32& width, int32& height) const
{
// TODO: proper screen info
x = 0;
y = 0;
width = (int32)_clientSize.X;
height = (int32)_clientSize.Y;
}
#endif