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)

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.