mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-15 15:09:29 +00:00
4ecb74f6b6
* FNA projects * update actions fixes MSBUILD : error MSB1011: Specify which project or solution file to use because this folder contains more than one project or solution file. * build tests * remove test for issue #633 * FNA/XNA compatible * GraphicsDevice Extensions * remove MockGameWindow --------- Co-authored-by: Christopher Whitley <103014489+AristurtleDev@users.noreply.github.com>
22 lines
518 B
C#
22 lines
518 B
C#
using System;
|
|
using Microsoft.Xna.Framework;
|
|
|
|
namespace MonoGame.Extended.Tests
|
|
{
|
|
public class TestGame : Game
|
|
{
|
|
private readonly GraphicsDeviceManager _graphicsDeviceManager;
|
|
|
|
public TestGame()
|
|
{
|
|
_graphicsDeviceManager = new GraphicsDeviceManager(this);
|
|
RunOneFrame();
|
|
}
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
((IDisposable)_graphicsDeviceManager).Dispose();
|
|
base.Dispose(disposing);
|
|
}
|
|
}
|
|
} |