glReadPixels when autoscale enabled



This is my first post in this forum. The truth is that until now, with all the documentation and the solutions found in the forum to problems that other members faced has been enough.

The problem I have found no solution is related to the function glReadPixels, that I’m using to implement a custom color picker (I read the pixel color from a color wheel using this function). Using it in an Android device, it works well when the display dimensions are the same as the view->create(320, 480) setting in the main.cpp. But when dimensions are different and the autoscale starts working, the result of reading a single pixel is all 0’s (no error reported from glGetError).

Am I missing something? Any help will be apreciated :slight_smile:

PD: the device where it fails is a Samsung Galaxy S2

Thanks in advance.