2
si j'écrises glReadPixels Opengl
glColor4f(1.0,0,0, 1.0);
glReadPixels(touch1Point.x,viewport[3]-touch1Point.y, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixelColor[0]);
pixelColor return 255 , 0 , 0
ce qui est le droit glReadPixels appel qui me redonnent 1,0 0 0?
merci ok vous !!! –