removed the glFinish hack to handle #1714, as it seems that JOGL 2.0.2

solved the issue.
This commit is contained in:
codeanticode
2013-08-19 16:22:48 -04:00
parent b850b53427
commit 3ab4e273d5

View File

@@ -1120,19 +1120,6 @@ public class PGL {
backTex = temp;
}
}
// call (gl)finish() only if the rendering of each frame is taking too long,
// to make sure that commands are not accumulating in the GL command queue.
// fcount += 1;
// int m = pg.parent.millis();
// if (m - lastm > 1000 * fint) {
// currentFps = (float)(fcount) / fint;
// fcount = 0;
// lastm = m;
// }
// if (currentFps < targetFps/2) {
// finish();
// }
}