1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

core(opencl): add version check before clCreateFromGLTexture() call

This commit is contained in:
Alexander Alekhin
2020-12-13 19:03:11 +00:00
parent 1bfc75ac23
commit 392991fa0b
3 changed files with 68 additions and 9 deletions
@@ -720,7 +720,12 @@ public:
String name() const;
String vendor() const;
/// See CL_PLATFORM_VERSION
String version() const;
int versionMajor() const;
int versionMinor() const;
int deviceNumber() const;
void getDevice(Device& device, int d) const;