提交 ce50df56 编写于 作者: M Maksim Shabunin

Fixed cvtColor OCL compilation issue (BGRA2mBGRA)

上级 e93aa158
......@@ -132,16 +132,10 @@ enum
#define R_COMP z
#define G_COMP y
#define B_COMP x
#elif bidx == 2
#else
#define R_COMP x
#define G_COMP y
#define B_COMP z
#elif bidx == 3
// The only kernel that uses bidx == 3 doesn't use these macros.
// But we still need to make the compiler happy.
#define R_COMP w
#define G_COMP w
#define B_COMP w
#endif
#ifndef uidx
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册