mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-06 05:01:53 +00:00
Added a way to create window platform independant
This commit is contained in:
@@ -14,8 +14,7 @@ namespace GlitchyEngine
|
||||
|
||||
public this()
|
||||
{
|
||||
// Todo: make Platform independent
|
||||
_window = new WindowsWindow(WindowDescription());
|
||||
_window = Window.CreateWindow(WindowDescription());
|
||||
_window.EventCallback = new => OnEvent;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user