TestRenderToMemory: fix fps display

This commit is contained in:
Kirill Vainer 2016-04-03 16:46:32 -04:00
parent acda6e371c
commit a82b9a4a3d

View File

@ -116,7 +116,7 @@ public class TestRenderToMemory extends SimpleApplication implements SceneProces
frames ++;
t = t2;
if (total > 1000){
if (total > timer.getResolution()) {
fps = frames;
total = 0;
frames = 0;