ReadPixels doesn't work with Textured Scene?

If I create an OpenGL scene using primitives such as spheres and cones then glReadPixels works fine. However if I create a scene that uses a texture then it doesn’t work. The format of glReadPixels I am using is shown below. Is there some setting required when textures are used.

thanks

==============================

glReadPixels(0, 0,imagewidth, imageheight,
GL_RGB,GL_UNSIGNED_BYTE,ReferenceImage);

[This message has been edited by rangers99 (edited 04-07-2002).]

ha…ya…MUPPETS.

Worked out the answer myself. You have to do

glDisable(TEXTURE_2D).