Login  Register

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

Posted by gouessej on Nov 19, 2014; 4:06pm
URL: https://forum.jogamp.org/JOGL-Rift-jocular-Exception-in-thread-main-Display-windows-tiny-1-EDT-1-tp4033677p4033575.html

You can put a flag into your implementation of display and/or reshape to control when you consider it should really do something but I don't know how you initialize JOGL, I have to look at your code a bit more.

Edit.: Please use the class Buffers instead of trying to do almost the same when creating your direct NIO buffers. Your management of those objects is quite poor, you shouldn't need to recreate them in reshape(). Sorry for my silly question but why not using JOGL classes to access Occulus?
Julien Gouesse | Personal blog | Website