$OpenBSD: patch-src_GraphicsDeviceManager_cs,v 1.1 2021/02/24 22:29:43 thfr Exp $

work around Axiom Verge spec violation
https://gist.github.com/flibitijibibo/ffdd7c6fe32b9846a83807dab24be8fd

Index: src/GraphicsDeviceManager.cs
--- src/GraphicsDeviceManager.cs.orig
+++ src/GraphicsDeviceManager.cs
@@ -30,6 +30,12 @@ namespace Microsoft.Xna.Framework
 		{
 			get
 			{
+				/* work around Axiom Verge spec violation */
+				if (graphicsDevice == null)
+				{
+					(this as IGraphicsDeviceManager).CreateDevice();
+				}
+
 				return graphicsDevice;
 			}
 		}
