mirror of
https://github.com/godotengine/godot-angle-static.git
synced 2026-01-07 06:09:57 +03:00
Add SearchType to OpenSharedLibraryWithExtension.
This fixes a bug in SystemInfo_vulkan where we were using the System search path for the Vulkan loader when we prefer using the custom ANGLE loader. Bug: chromium:1219969 Change-Id: Iedf0fd11fe9ed8cc020b445ea9e12a7936937361 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2988791 Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
This commit is contained in:
committed by
Angle LUCI CQ
parent
971ba359fb
commit
18e99f4a2b
@@ -120,8 +120,8 @@ SampleApplication::SampleApplication(std::string name,
|
||||
mDriverType = angle::GLESDriverType::SystemWGL;
|
||||
#else
|
||||
mGLWindow = EGLWindow::New(glesMajorVersion, glesMinorVersion);
|
||||
mEntryPointsLib.reset(
|
||||
angle::OpenSharedLibraryWithExtension(angle::GetNativeEGLLibraryNameWithExtension()));
|
||||
mEntryPointsLib.reset(angle::OpenSharedLibraryWithExtension(
|
||||
angle::GetNativeEGLLibraryNameWithExtension(), angle::SearchType::SystemDir));
|
||||
mDriverType = angle::GLESDriverType::SystemEGL;
|
||||
#endif // defined(ANGLE_PLATFORM_WINDOWS)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user