I’m trying to paint a small box in a corner of mine rendering with a copy downscaled of the main picture.
I used glCopyPixel to read data from the current rendering and glDrawPixels and glPixelsZoom to redraw a stretched image in the lower corner.
But nothing happens, I’m using a double buffer but I can’t see anything…
mine code is just
I’ve also tryied to change the reading/writing parameters to GL_FRONT, GL_LEFT and so on, but nothing seems to change…
the coordinates passed are right, do someone can explain me where is the mistake ? Or have some ideas on how make me find the error ??