glReadPixels

Hi all -

What I need to do is make a thumbnail of an opengl window image for when the window is not the foregroud window. I have it being rendered to the back buffer because if I do a SwapBuffers the image I want is there and in the bottom left corner and in the size I need. But glReadPixels just does not seem to work.

I am not concerned about performance issues at this time. When the window is not the foreground window the image will be fairly static. I just need to put a thumbnail up in a different window.

This is for a windows 7 system if that matters. I also saw a lot of people using frame buffer objects, but it seemed that the feature may not be available for all graphic cards.

Thanks.

  • Brian

Please don’t cross-post: glReadPixels - OpenGL - Khronos Forums