Preload D3DX DLLs before ANGLE is loaded.
This is in case they are not in the DLL search path. It tries the default search path first in case D3DX is installed in the regular place. If that fails then it uses an absolute path to where Chrome installs them. I moved the call to SetErrorMode to be before ANGLE is loaded. Without this, a failing call to LoadLibrary would result in the display of a dialog box. This is dependent on http://codereview.chromium.org/7831021. BUG=69610 Review URL: http://codereview.chromium.org/7792078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99892 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment