protected virtual void EndDraw() { if (graphicsDeviceManager != null) { graphicsDeviceManager.EndDraw(); } }