mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Added a way to create window platform independant
This commit is contained in:
@@ -108,6 +108,14 @@ namespace GlitchyEngine.Platform.Windows
|
||||
set;
|
||||
}
|
||||
|
||||
#if GE_WINDOWS
|
||||
[Export, LinkName("GlitchyEngine.Window.CreateWindow")]
|
||||
public static new Window CreateWindow(WindowDescription description)
|
||||
{
|
||||
return new WindowsWindow(description);
|
||||
}
|
||||
#endif
|
||||
|
||||
public this(WindowDescription desc)
|
||||
{
|
||||
_minMaxInfo.MaximumTrackingSize.x = int32.MaxValue;
|
||||
|
||||
Reference in New Issue
Block a user