OpenGL and OpenCV matrix

Hello, I am working on rotation matrix in OpenCV. I need to use it for OpenGL. Do I need to transpose the matrix in OpenCV in order to use for OpenGL? Does this matter for rotation matrix. Please clarify my question. Thanks.