Opengl, sdl, and reading the screen

Hey,
i’m using opengl and sdl under dev-c++.

it seems i always get an error when i try to use glReadPixels()

is there an easy way (or tutorial) on how to do this?
thanks,
-John

Hey,
i’m using opengl and sdl under dev-c++.

it seems i always get an error when i try to use glReadPixels()

is there an easy way (or tutorial) on how to do this?
thanks,
-John

Do you have a program demonstrating your problem ?
I use glReadPixels all the time and it works for me.

Stephane