OpenCV Opengl Code