Suppose I open a glfw window with:
glfwOpenWindow(width, height, 8,8,8,8,8,8, GLFW_WINDOW);
Then, I try to read it back with:
glReadPixels(0, 0, width, height, ..1.., ..2..);
I'm not sure what I should be putting in as ..1.. and ..2.. ; I think ..1.. should be GL_RGBA, but no idea for ..2..
Thanks!