From a8ef40fe8a07559dd353384f9667de67dec31a09 Mon Sep 17 00:00:00 2001 From: amaitland Date: Sat, 20 Aug 2016 08:24:12 +1000 Subject: [PATCH] Add command line option to test #1634 --- CefSharp.Example/CefExample.cs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/CefSharp.Example/CefExample.cs b/CefSharp.Example/CefExample.cs index 546a7c77b..bba04acb5 100644 --- a/CefSharp.Example/CefExample.cs +++ b/CefSharp.Example/CefExample.cs @@ -98,13 +98,8 @@ namespace CefSharp.Example //settings.CefCommandLineArgs.Add("disable-surfaces", "1"); settings.EnableInternalPdfViewerOffScreen(); - var osVersion = Environment.OSVersion; - //Disable GPU for Windows 7 - if(osVersion.Version.Major == 6 && osVersion.Version.Minor == 1) - { - // Disable GPU in WPF and Offscreen examples until #1634 has been resolved - settings.CefCommandLineArgs.Add("disable-gpu", "1"); - } + //Disable Direct Composition to test https://github.com/cefsharp/CefSharp/issues/1634 + //settings.CefCommandLineArgs.Add("disable-direct-composition", "1"); // DevTools doesn't seem to be working when this is enabled // http://magpcss.org/ceforum/viewtopic.php?f=6&t=14095