Re: Right method to exit/dispose on linux
Posted by elect on Feb 18, 2014; 2:37pm
URL: https://forum.jogamp.org/Right-method-to-exit-dispose-on-linux-tp4031504p4031631.html
Something like
public static void main(String[] args) {
final OculusRoomTiny oculusRoomTiny = new OculusRoomTiny();
while(oculusRoomTiny.getGlWindow().isRealized()){
}
}
isn't too much aggressive? Should I make it sleep every, let's say, 50ms?