Beispiel #1
0
 /// <summary>
 /// Render surface static constructor.
 /// </summary>
 static GraphicsSurface()
 {
     // This (internal) routine is used to force the execution of the GraphicsContext
     // static constructor. Once accessing to GraphicsSurface instances, the GraphicsContext
     // capabilities shall be known.
     GraphicsContext.Touch();
 }
Beispiel #2
0
 /// <summary>
 /// Static constructor.
 /// </summary>
 static GraphicsWindow()
 {
     GraphicsContext.Touch();
 }