I must know when the scene drawing is completed.
Because after the drawing is completed,
I want to run glReadPixels.
Does it exist the flag that can check
whether the scene is completed ?
Plz Help me~~~~-
I must know when the scene drawing is completed.
Because after the drawing is completed,
I want to run glReadPixels.
Does it exist the flag that can check
whether the scene is completed ?
Plz Help me~~~~-
I must know when the scene drawing is completed.
Because after the drawing is completed,
I want to run glReadPixels, rotate the model
and redraw…Do you understand my situation?
Does it exist the flag that can check
whether the scene is completed ?
Plz Help me~~~~-
call glFinish()
this guarantees (I am pretty sure)
that all gl calls have finished
no flag (to my knowledge)
glFinish() blocks until it’s complete. hence, no need for a flag.
cheers,
John