Login  Register

Re: JOGL/Rift/JOVR - Exception in thread "main-Display-.windows_tiny-1-EDT-1"

Posted by BrickFarmer on Nov 27, 2014; 11:54am
URL: https://forum.jogamp.org/JOGL-Rift-jocular-Exception-in-thread-main-Display-windows-tiny-1-EDT-1-tp4033677p4033650.html

The code is pretty much self contained in that example now, and runs without a rift with the useDebugHMD flag.

The author of JOVR seemed to think it was something to do with a JOGL resize triggering a display call:

https://forums.oculus.com/viewtopic.php?f=20&t=16263&start=20
Something about this call to display int he context of a resize event seems to be invalidating the VAO that the Oculus SDK creates on the first call to endFrame().
To be honest I dont know enough about the details of how openGL works at the level to have a proper opinion.