3 #if SILICONSTUDIO_PLATFORM_WINDOWS_DESKTOP && SILICONSTUDIO_PARADOX_GRAPHICS_API_OPENGL
5 using System.Collections.Generic;
7 using System.Reflection;
8 using SiliconStudio.Paradox.Graphics;
10 namespace SiliconStudio.
Paradox.Games
12 internal class GamePlatformOpenTK : GamePlatform, IGraphicsDeviceFactory
14 public GamePlatformOpenTK(GameBase game) : base(game)
18 public override string DefaultAppDirectory
22 var assemblyUri =
new Uri(Assembly.GetEntryAssembly().CodeBase);
23 return Path.GetDirectoryName(assemblyUri.LocalPath);
27 internal override GameWindow[] GetSupportedGameWindows()
29 return new GameWindow[] {
new GameWindowOpenTK() };
32 public virtual void DeviceChanged(GraphicsDevice currentDevice, GraphicsDeviceInformation deviceInformation)