Hi evrybody,
I'm puzzled by this: why when I draw a single pixel using Drawpixels on position x,y and read it back right after that I don't get the updated pixel data?
here's my code:
I would appreciate it if anyone would clarify this for meCode :uchar color_vals[4]; glRasterPos2i(x, y); glDrawPixels(1, 1, GL_RGBA, GL_UNSIGNED_BYTE, color_vals); glReadPixels(x, y, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, color_vals);



