Login  Register

Re: Where/when is it ok to call setFullscreen()?

Posted by Marian Schedenig on Aug 19, 2014; 2:58pm
URL: https://forum.jogamp.org/Where-when-is-it-ok-to-call-setFullscreen-tp4032828p4032839.html

Thanks Sven, it seems indeed to be working perfectly fine with standard Animator.

I have both Animator implementations in my game, but I didn't think of trying it with the standard one. By default I use FPSAnimator, as far as I recall because when I first wrote the code, I had issues with Animator on Linux, though I can't recall in detail now (I think the framerate wasn't the 60Hz I was expecting from my screen settings). Animator seems to do exactly what I want now though, so I'll switch the default to that and just leave FPSAnimator as a fallback config option.

I'll see if I can come up with a minimal FPSAnimator example in the next few days.