-
I want to know when the scene drawing is completed.
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~~~~-
-
Re: I want to know when the scene drawing is completed.
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~~~~-
-
Re: I want to know when the scene drawing is completed.
call glFinish()
this guarantees (I am pretty sure)
that all gl calls have finished
no flag (to my knowledge)
-
Advanced Member
Frequent Contributor
Re: I want to know when the scene drawing is completed.
glFinish() *blocks* until it's complete. hence, no need for a flag.
cheers,
John
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules