opengl es render but dont show on display
Posted
by Sponge
on Stack Overflow
See other posts from Stack Overflow
or by Sponge
Published on 2010-05-03T09:12:03Z
Indexed on
2010/05/03
9:18 UTC
Read the original article
Hit count: 242
i have written a object selection algorithm which picks the objects by there color. i give every object an unique color and then i just have to use the glReadPixels method to check which object was selected
this works fine and is really fast but the problem is that the frame is displayed on the screen with all the picking-colors so the screen flashes every time you select something.
so my question is: how do i write everything in the correct display buffer but dont display it on the screen to avoid these flashes?
© Stack Overflow or respective owner