mem problems with glReadPixel

I’ve got a serious memory problem with
glReadPixel and Mandrake Linux.

I just wrote an application that permanently
calls glReadPixel without allocation any
memory, but the memory use of this program
increases permanently.
I can only fix this problem by removing
glReadPixel.

Is there any alternative to glReadPixel, or
any way to prevent a memory blowup?

m schaef

How do you use glReadPixels ?

How do you allocate the memory in host memory ? Your size should be WidthHeightComponent(RGB or RGBA)*DataType(unsigned int, float)