mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
remove a warning on Linux
fix a error in doc
This commit is contained in:
parent
db9de43fa5
commit
568b935246
@ -1,7 +1,7 @@
|
|||||||
Data Structures
|
Data Structures
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
.. ocv:class:: oclMat
|
.. ocv:class:: ocl::oclMat
|
||||||
|
|
||||||
OpenCV C++ 1-D or 2-D dense array class ::
|
OpenCV C++ 1-D or 2-D dense array class ::
|
||||||
|
|
||||||
|
@ -703,7 +703,7 @@ static cl_mem bindTexture(const oclMat &mat, int depth, int channels)
|
|||||||
desc.image_type = CL_MEM_OBJECT_IMAGE2D;
|
desc.image_type = CL_MEM_OBJECT_IMAGE2D;
|
||||||
desc.image_width = mat.step / mat.elemSize();
|
desc.image_width = mat.step / mat.elemSize();
|
||||||
desc.image_height = mat.rows;
|
desc.image_height = mat.rows;
|
||||||
desc.image_depth = NULL;
|
desc.image_depth = 0;
|
||||||
desc.image_array_size = 1;
|
desc.image_array_size = 1;
|
||||||
desc.image_row_pitch = 0;
|
desc.image_row_pitch = 0;
|
||||||
desc.image_slice_pitch = 0;
|
desc.image_slice_pitch = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user