Пример #1
0
        public static void ListDriverCaps(DriverCaps driverCaps, ListBox listCaps)
        {
            listCaps.Items.Add(" -----  Driver Caps ------------------------");
            if (driverCaps.SupportsDynamicTextures)
            {
                listCaps.Items.Add("The driver support Dynamic textures");
            }

            if (driverCaps.CanCalibrateGamma)
            {
                listCaps.Items.Add("The driver can automatically adjust the gamma ramp");
            }

            if (driverCaps.SupportsFullscreenGamma)
            {
                listCaps.Items.Add("The driver supports dynamic gamma ramp adjustment in full-screen mode. ");
            }
        }
        public static void ListDriverCaps(DriverCaps driverCaps, ListBox listCaps)
        {
            listCaps.Items.Add(" -----  Driver Caps ------------------------");
            if(driverCaps.SupportsDynamicTextures) {
                listCaps.Items.Add("The driver support Dynamic textures");
            }

            if(driverCaps.CanCalibrateGamma) {
                listCaps.Items.Add("The driver can automatically adjust the gamma ramp");
            }

            if(driverCaps.SupportsFullscreenGamma) {
                listCaps.Items.Add("The driver supports dynamic gamma ramp adjustment in full-screen mode. ");
            }
        }