void comboBoxAntialiasing_SelectedIndexChange(ComboBox sender)
        {
            //update Engine.config
            TextBlock engineConfigBlock = LoadEngineConfig();

            if (engineConfigBlock == null)
            {
                engineConfigBlock = new TextBlock();
            }
            TextBlock rendererBlock = engineConfigBlock.FindChild("Renderer");

            if (rendererBlock == null)
            {
                rendererBlock = engineConfigBlock.AddChild("Renderer");
            }
            if (comboBoxAntialiasing.SelectedIndex != -1)
            {
                ComboBoxItem item = (ComboBoxItem)comboBoxAntialiasing.SelectedItem;
                rendererBlock.SetAttribute("fullSceneAntialiasing", item.Identifier);
            }
            else
            {
                rendererBlock.DeleteAttribute("fullSceneAntialiasing");
            }
            SaveEngineConfig(engineConfigBlock);

            EnableVideoRestartButton();
        }