Hi Marcus,

Marcus Lindblom wrote:
> Hi,
> 
> I noticed a change from 1.x to 2.0, namely that PassiveWindow inherits 
> NativeWindow (which is Win32Window on my platform), which means that 
> swap calls (that call doSwap()) are made twice in our apps, since Qt 
> swaps, and I have a PassiveWindow in a QGLWidget.
> 
> Shouldn't swap be disabled by PassiveWindow? It currently does not 
> implement doSwap(), but only the regular swap().
> 
> (Why are there two functions?)
> 
> Bug or misuse by me? Any quick workarounds? (I could inheritd 
> PassiveWindow myself and ad an empty doSwap()).

That's a bug. The main point of the PassiveWindow is to be totally passive and 
expect the OpenGL window/context management (including swap) to be handled from 
the outside.

Gerrit, what was the motivation to derive it from Native?

Yours

        Dirk

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to