When thiscode run ,
IntPtr abc=new IntPtr(0); GL.ReadPixels(10, 10, 1, 1, PixelFormat.Rgba, PixelType.Float, abc);
windows give this error:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
I looked forum , this problem is occur too much.
How Can I solve this problem???