Re: [osg-users] Issue Subclassing GraphicsWindowX11

2015-05-28 Thread Robert Osfield
Hi Karl, I haven't heard of this specific problem before, but then most users won't be subclassing from GraphicsWindowX11. In principle I can't see any reason why it wouldn't work. Without code in front of me that fails to compile I can only provides guesses as to what is amiss - my best guess

Re: [osg-users] Issue Subclassing GraphicsWindowX11

2015-05-28 Thread Voerman, L.
Hi Karl, Did you find the GraphicsContext-setSwapCallback() call? It seems to me you are taking a very difficult route to get a custom swapBuffersImplementation. Regards, Laurens. On Thu, May 28, 2015 at 9:56 AM, Robert Osfield robert.osfi...@gmail.com wrote: Hi Karl, I haven't heard of this

Re: [osg-users] Issue Subclassing GraphicsWindowX11

2015-05-28 Thread Cary, Karl A.
, but the setSwapCallback() sounds like a better idea. -Original Message- From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Voerman, L. Sent: Thursday, May 28, 2015 4:05 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Issue Subclassing GraphicsWindowX11 Hi

[osg-users] Issue Subclassing GraphicsWindowX11

2015-05-27 Thread Cary, Karl A.
I need to subclass the GraphicsWindowX11 class in order to provide a custom swapBuffersImplementation. However, when I do this I then get a really random error in the middle of one of my enumerations (expected identifier before numeric constant). It happens when I include