Files
LuaCsForBarotraumaEP/Libraries/MonoGame.Framework/Src/MonoGame.Framework/GamePlatform.Desktop.cs
2019-06-25 16:00:44 +03:00

25 lines
562 B
C#

// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System;
#if WINDOWS_UAP
using Windows.UI.ViewManagement;
#endif
namespace Microsoft.Xna.Framework
{
partial class GamePlatform
{
internal static GamePlatform PlatformCreate(Game game)
{
#if DESKTOPGL || ANGLE || WINDOWS
return new SdlGamePlatform(game);
#elif WINDOWS_UAP
return new UAPGamePlatform(game);
#endif
}
}
}