diff --git a/Robust.Client.WebView/Cef/RobustCefApp.cs b/Robust.Client.WebView/Cef/RobustCefApp.cs index 0f1eb9d0d..8675bdd84 100644 --- a/Robust.Client.WebView/Cef/RobustCefApp.cs +++ b/Robust.Client.WebView/Cef/RobustCefApp.cs @@ -41,7 +41,7 @@ namespace Robust.Client.WebView.Cef // commandLine.AppendSwitch("--single-process"); //commandLine.AppendSwitch("--disable-gpu"); - //commandLine.AppendSwitch("--disable-gpu-compositing"); + commandLine.AppendSwitch("--disable-gpu-compositing"); //commandLine.AppendSwitch("--in-process-gpu"); commandLine.AppendSwitch("--off-screen-rendering-enabled"); diff --git a/Robust.Client.WebView/Cef/WebViewManagerCef.Control.cs b/Robust.Client.WebView/Cef/WebViewManagerCef.Control.cs index d58a32eb3..9678b37ed 100644 --- a/Robust.Client.WebView/Cef/WebViewManagerCef.Control.cs +++ b/Robust.Client.WebView/Cef/WebViewManagerCef.Control.cs @@ -392,6 +392,7 @@ namespace Robust.Client.WebView.Cef _data.Browser.GetHost().WasResized(); _data.Texture.Dispose(); _data.Texture = _clyde.CreateBlankTexture((Owner.PixelWidth, Owner.PixelHeight)); + _data.Browser.GetHost().Invalidate(CefPaintElementType.View); } public void Draw(DrawingHandleScreen handle)