ReadPixel working in windowed mode but not fullscr

Blitz3D Forums/Blitz3D Beginners Area/ReadPixel working in windowed mode but not fullscr

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Both ReadPixel and ReadPixelFast are working fine in windowsed mode but return the wrong values when working in fullscreen mode

In fact, the values returned in fullscreen mode don't correspond at all with any colours used on the .png file at all.

The colour should be FF005F1C
The colour returned os FF005C18

I've checked the x,y values and these are fine

Any ideas ?