Make sure to stop looking once we find the python library

This commit is contained in:
baldurk
2019-03-01 16:02:29 +00:00
parent 4327f32667
commit 8dae3437c5
+5 -1
View File
@@ -869,7 +869,11 @@ extern "C" RENDERDOC_API int RENDERDOC_CC RENDERDOC_RunFunctionalTests(int pytho
*ver = char('0' + pythonMinorVersion);
handle = Process::LoadModule(py.c_str());
RDCLOG("Loaded python from %s", py.c_str());
if(handle)
{
RDCLOG("Loaded python from %s", py.c_str());
break;
}
}
if(!handle)