mirror of
https://github.com/opencv/opencv.git
synced 2024-11-30 14:29:49 +08:00
Merge pull request #12621 from cv3d:fix/opengl
This commit is contained in:
commit
475c775b25
@ -1824,7 +1824,7 @@ UMat mapGLBuffer(const Buffer& buffer, AccessFlag accessFlags)
|
||||
switch (accessFlags & (ACCESS_READ|ACCESS_WRITE))
|
||||
{
|
||||
default:
|
||||
case ACCESS_READ|ACCESS_WRITE:
|
||||
case ACCESS_READ+ACCESS_WRITE:
|
||||
clAccessFlags = CL_MEM_READ_WRITE;
|
||||
break;
|
||||
case ACCESS_READ:
|
||||
|
Loading…
Reference in New Issue
Block a user