mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1843681 - Remove dead code from gfx/gl/GLLibraryEGL.cpp. r=gfx-reviewers,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D183101
This commit is contained in:
parent
03f8c04eca
commit
26001e8973
@ -447,18 +447,8 @@ bool GLLibraryEGL::Init(nsACString* const out_failureId) {
|
||||
|
||||
do {
|
||||
// Windows 8.1+ has d3dcompiler_47.dll in the system directory.
|
||||
// Try it first. Note that _46 will never be in the system
|
||||
// directory. So there is no point trying _46 in the system
|
||||
// directory.
|
||||
|
||||
if (LoadLibrarySystem32(L"d3dcompiler_47.dll")) break;
|
||||
|
||||
# ifdef MOZ_D3DCOMPILER_VISTA_DLL
|
||||
if (LoadLibraryForEGLOnWindows(NS_LITERAL_STRING_FROM_CSTRING(
|
||||
MOZ_STRINGIFY(MOZ_D3DCOMPILER_VISTA_DLL))))
|
||||
break;
|
||||
# endif
|
||||
|
||||
MOZ_ASSERT(false, "d3dcompiler DLL loading failed.");
|
||||
} while (false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user