public Object GetService(Type type) { if (type == typeof(IGraphicsDeviceService)) { if (graphicsDeviceService == null) { graphicsDeviceService = new SimpleGraphicsDeviceService(handle); } return(graphicsDeviceService); } return(null); }
public Object GetService(Type type) { if (type == typeof(IGraphicsDeviceService)) { if (graphicsDeviceService == null) graphicsDeviceService = new SimpleGraphicsDeviceService(handle); return graphicsDeviceService; } return null; }