I need to read content of CAEAGLLayer, which has various widths and heights (based on background image size).on iPad emulator everything is okay, but on device I have crashes or weird horizontal lines
This is my code that I use to get my mouse position in the 3d scene: void GetOGLPos(int x, int y, GLdouble &pX, GLdouble &pY, GLdouble &pZ){