mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
Merge pull request #26451 from savuor:rv/fix_get_handle
Build fix for opencl_core.cpp
This commit is contained in:
commit
ff639d11d4
@ -204,7 +204,7 @@ static void* GetProcAddress(const char* name)
|
|||||||
{
|
{
|
||||||
const std::string path = (i==0) ? getRuntimePath(defaultAndroidPaths[i]) : defaultAndroidPaths[i];
|
const std::string path = (i==0) ? getRuntimePath(defaultAndroidPaths[i]) : defaultAndroidPaths[i];
|
||||||
if (!path.empty()) {
|
if (!path.empty()) {
|
||||||
handle = GetHandle(path);
|
handle = GetHandle(path.c_str());
|
||||||
if (handle) {
|
if (handle) {
|
||||||
foundOpenCL = true;
|
foundOpenCL = true;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user