Recent Mac Pbuffer bug?

Started by renanse, November 09, 2005, 20:35:52

Previous topic - Next topic

renanse

This seems to have recently appeared, so my best guess is that a recent OSX patch did something to cause Pbuffers to have issues.  I get this error when I run org.lwjgl.test.opengl.pbuffers.PbufferTest with arg 1 (and basically the same with 2.)

Creating pbuffer with unique context...2005-11-09 13:28:53.918 java[385] invalid share context
2005-11-09 13:28:53.919 java[385] invalid context
org.lwjgl.LWJGLException: Could not create context
        at org.lwjgl.opengl.MacOSXContextImplementation.nCreate(Native Method)
        at org.lwjgl.opengl.MacOSXContextImplementation.create(MacOSXContextImplementation.java:48)
        at org.lwjgl.opengl.Context.<init>(Context.java:123)
        at org.lwjgl.opengl.Pbuffer.<init>(Pbuffer.java:192)
        at org.lwjgl.test.opengl.pbuffers.UniqueRenderer.init(UniqueRenderer.java:50)
        at org.lwjgl.test.opengl.pbuffers.TextureRenderer.<init>(TextureRenderer.java:54)
        at org.lwjgl.test.opengl.pbuffers.UniqueRenderer.<init>(UniqueRenderer.java:43)
        at org.lwjgl.test.opengl.pbuffers.PbufferTest.<init>(PbufferTest.java:130)
        at org.lwjgl.test.opengl.pbuffers.PbufferTest.main(PbufferTest.java:422)


For some reason org.lwjgl.test.opengl.PbufferTest works.  I'm guessing it's because you are not specifying args to PixelFormat.

Thanks in advance...

Matzon

Is this from CVS?
perhaps this commit could have something to do with it:
http://cia.navi.cx/stats/project/LWJGL/.message/6286468

elias

We got that problem when we installed the 10.4.3 update. A workaround has been comitted to LWJGL CVS.

- elias

renanse

Great, thanks.  Any chance of a quick build I can toss in jME?  :P

elias

The fix is java only so you should be able to just build a new lwjgl.jar from CVS.

- elias

renanse


renanse

Hmm, I'm having issues grabbing the latest from cvs.  Would it be possible to send me just the new lwjgl.jar?  *smile apologetically*   If not, I'll just keep trying until sourceforge lets me pull.

renanse

nvmd, cvs finally worked.  I'll try the new jar and report back.