[osg-users] Frame Count/Threading Models

Robert Osfield robert.osfield at gmail.com
Tue Nov 24 02:07:53 PST 2009


Hi Paul,

On Mon, Nov 23, 2009 at 8:35 PM,  <paul1492 at yahoo.com> wrote:
> Any help would be appreciated.
>
> How do I get a valid graphics context in a Pre Draw Callback so I can call glXQueryFrameCountNV()?

You will always have a valid graphics context during a initial, pre or
post or final draw callback as they are only every called from a
graphics thread with a context current.

Robert.


More information about the osg-users mailing list