sqlite_orm: 1.9 -> 1.9.1 (#379250)
[NixPkgs.git] / pkgs / by-name / li / libvpl / opengl-driver-lib.patch
blob5913190a538468c03eb307ae93d8a8361b4bc91a
1 --- a/libvpl/src/mfx_dispatcher_vpl_loader.cpp
2 +++ b/libvpl/src/mfx_dispatcher_vpl_loader.cpp
3 @@ -548,6 +548,16 @@ mfxStatus LoaderCtxVPL::BuildListOfCandidateLibs() {
4 it++;
7 + // fourth priority
8 + searchDirList.clear();
9 + searchDirList.push_back("@driverLink@/lib");
10 + it = searchDirList.begin();
11 + while (it != searchDirList.end()) {
12 + STRING_TYPE nextDir = (*it);
13 + sts = SearchDirForLibs(nextDir, m_libInfoList, LIB_PRIORITY_05);
14 + it++;
15 + }
17 // lowest priority: legacy MSDK installation
18 searchDirList.clear();
19 GetSearchPathsLegacy(searchDirList);