mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
samples: avoid using of legacy C-like API (part 2)
This commit is contained in:
@@ -135,7 +135,7 @@ public:
|
||||
if (!m_cap.read(m_frame_bgr))
|
||||
return -1;
|
||||
|
||||
cv::cvtColor(m_frame_bgr, m_frame_rgba, CV_BGR2RGBA);
|
||||
cv::cvtColor(m_frame_bgr, m_frame_rgba, COLOR_BGR2RGBA);
|
||||
|
||||
UINT subResource = ::D3D10CalcSubresource(0, 0, 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user