Dwarrowdelf.Client.GameCore.CreateDevice C# (CSharp) Method

CreateDevice() private method

private CreateDevice ( ) : void
return void
        void CreateDevice()
        {
            var deviceFlags = DeviceCreationFlags.None;
            deviceFlags |= DeviceCreationFlags.SingleThreaded;
            //deviceFlags |= DeviceCreationFlags.Debug;

            this.GraphicsDevice = ToDispose(GraphicsDevice.New(DriverType.Hardware, deviceFlags));
        }