Commit b80ac4bd authored by jbauman@chromium.org's avatar jbauman@chromium.org

Preload ddraw.dll before initializing sandbox.

Needed for swiftshader to work.

BUG=116092
TEST=


Review URL: http://codereview.chromium.org/9567021

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124550 0039d316-1c4b-4281-b951-d872f2087c98
parent 1bba8f2c
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
...@@ -146,6 +146,8 @@ bool InitializeGLBindings(GLImplementation implementation) { ...@@ -146,6 +146,8 @@ bool InitializeGLBindings(GLImplementation implementation) {
return false; return false;
gles_path = gles_path =
command_line->GetSwitchValuePath(switches::kSwiftShaderPath); command_line->GetSwitchValuePath(switches::kSwiftShaderPath);
// Preload library
LoadLibrary(L"ddraw.dll");
} else { } else {
gles_path = module_path; gles_path = module_path;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment