Loading gfx/gl/GLLibraryEGL.cpp +7 −1 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ #ifdef XP_WIN # include "mozilla/gfx/DeviceManagerDx.h" # include "nsWindowsHelpers.h" # include "prerror.h" # include <d3d11.h> #endif Loading Loading @@ -150,7 +151,12 @@ static PRLibrary* LoadLibraryForEGLOnWindows(const nsAString& filename) { PRLibSpec lspec; lspec.type = PR_LibSpec_PathnameU; lspec.value.pathname_u = path.get(); return PR_LoadLibraryWithFlags(lspec, PR_LD_LAZY | PR_LD_LOCAL); PRLibrary* lib = PR_LoadLibraryWithFlags(lspec, PR_LD_LAZY | PR_LD_LOCAL); if (!lib) { gfxCriticalNote << "Failed to load " << path.get() << " " << PR_GetError() << " " << PR_GetOSError(); } return lib; } #endif // XP_WIN Loading Loading
gfx/gl/GLLibraryEGL.cpp +7 −1 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ #ifdef XP_WIN # include "mozilla/gfx/DeviceManagerDx.h" # include "nsWindowsHelpers.h" # include "prerror.h" # include <d3d11.h> #endif Loading Loading @@ -150,7 +151,12 @@ static PRLibrary* LoadLibraryForEGLOnWindows(const nsAString& filename) { PRLibSpec lspec; lspec.type = PR_LibSpec_PathnameU; lspec.value.pathname_u = path.get(); return PR_LoadLibraryWithFlags(lspec, PR_LD_LAZY | PR_LD_LOCAL); PRLibrary* lib = PR_LoadLibraryWithFlags(lspec, PR_LD_LAZY | PR_LD_LOCAL); if (!lib) { gfxCriticalNote << "Failed to load " << path.get() << " " << PR_GetError() << " " << PR_GetOSError(); } return lib; } #endif // XP_WIN Loading