We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ed8f81 commit e7ee137Copy full SHA for e7ee137
core/platform/android/java/src/dev/axmol/lib/AxmolRenderer.java
@@ -38,7 +38,7 @@ public class AxmolRenderer implements GLSurfaceView.Renderer {
38
39
// The final animation interval which is used in 'onDrawFrame'
40
private static long sAnimationInterval = (long) (1.0f / 60f * AxmolRenderer.NANOSECONDSPERSECOND);
41
- private static float FPS_CONTROL_THRESHOLD = 1.0f / 1200.0f * AxmolRenderer.NANOSECONDSPERSECOND;
+ private static long FPS_CONTROL_THRESHOLD = (long) (1.0f / 1200.0f * AxmolRenderer.NANOSECONDSPERSECOND);
42
43
// ===========================================================
44
// Fields
0 commit comments