Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
angle
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
angle
Commits
0677631a
Commit
0677631a
authored
Oct 15, 2013
by
Geoff Lang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fall back to LoadLibrary if preloading d3d compiler modules fails.
R=zmo@chromium.org, shannonwoods@chromium.org, jmadill@chromium.org Review URL:
https://codereview.appspot.com/14532049
parent
5e70cf9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
Renderer.cpp
src/libGLESv2/renderer/Renderer.cpp
+6
-3
No files found.
src/libGLESv2/renderer/Renderer.cpp
View file @
0677631a
...
@@ -53,13 +53,16 @@ bool Renderer::initializeCompiler()
...
@@ -53,13 +53,16 @@ bool Renderer::initializeCompiler()
break
;
break
;
}
}
}
}
#else
// Load the version of the D3DCompiler DLL associated with the Direct3D version ANGLE was built with.
mD3dCompilerModule
=
LoadLibrary
(
D3DCOMPILER_DLL
);
#endif // ANGLE_PRELOADED_D3DCOMPILER_MODULE_NAMES
#endif // ANGLE_PRELOADED_D3DCOMPILER_MODULE_NAMES
if
(
!
mD3dCompilerModule
)
if
(
!
mD3dCompilerModule
)
{
{
// Load the version of the D3DCompiler DLL associated with the Direct3D version ANGLE was built with.
mD3dCompilerModule
=
LoadLibrary
(
D3DCOMPILER_DLL
);
}
if
(
!
mD3dCompilerModule
)
{
ERR
(
"No D3D compiler module found - aborting!
\n
"
);
ERR
(
"No D3D compiler module found - aborting!
\n
"
);
return
false
;
return
false
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment