I am using the parameters that GL_BGR in this function:
glReadPixels(0, 0, m_ViewPort.x, m_ViewPort.y, GL_RGB, GL_UNSIGNED_BYTE, GetDocument()->CreateScreenImage(m_ViewPort.x, m_ViewPort.y));
it can not pass compile because that the compiler visual studio has a head file gl.h that is in vision 1.1
I had read about the key words"GL_BGR" is start supported by vision 1.2.
what can I do?
download a gl.h which in vision 1.2 in windows?
I can not find it!