Index: ui/gfx/gl/gl_implementation_win.cc |
diff --git a/ui/gfx/gl/gl_implementation_win.cc b/ui/gfx/gl/gl_implementation_win.cc |
index e98da6143450e0fdcd7eb566180ed9e99c019a3f..c5c1f651fb202716e18bf0edcc7ab69a6ea5d1a1 100644 |
--- a/ui/gfx/gl/gl_implementation_win.cc |
+++ b/ui/gfx/gl/gl_implementation_win.cc |
@@ -146,6 +146,8 @@ bool InitializeGLBindings(GLImplementation implementation) { |
return false; |
gles_path = |
command_line->GetSwitchValuePath(switches::kSwiftShaderPath); |
+ // Preload library |
+ LoadLibrary(L"ddraw.dll"); |
} else { |
gles_path = module_path; |
} |