
libgdx - issue #886
Non-continuous rendering on desktop jogl backend not working with `requestRender` calls
I call Gdx.graphics.setContinuousRendering(false) when I start my app, and invoke Gdx.graphics.requestRender() if a frame update changes any animations.
This works fine on Android and with lwjgl. On the desktop with the Jogl backend it does not work. The render callback only seems to be invoked in response to UI events like moving the mouse or clicking, but not when 'requestRender' is called. (So in my app, for example, animations stop until I wave the mouse around.)
I'm using the 0.9.4 release.
From the original blog post (http://www.badlogicgames.com/wordpress/?p=2289) I was expecting some problems on the desktop, so I'm not sure if these are known issues, or not.
I can put together a small demonstration of the problem if that would help.
Comment #1
Posted on Jun 12, 2012 by Grumpy LionIn case someone searches for the right method, its actually Gdx.graphics.requestRendering() (not requestRender). Anyway ...
Comment #2
Posted on Jul 20, 2012 by Massive HorseWe are going to deprecate the jogl backend very soon, as the Lwjgl backend works a lot better. I was aware of the issue but didn't have time to fix it. Due to the iminent deprecation, i'll set this to WontFix.
thanks for reporting!
Status: WontFix
Labels:
Type-Defect
Priority-Medium