mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 14:35:58 +00:00
Removed Display.sync2 and Display.sync3
This commit is contained in:
parent
4a0b48a306
commit
f18b5baa09
1 changed files with 4 additions and 4 deletions
|
|
@ -396,7 +396,7 @@ public final class Display {
|
|||
* to prevent just missing the frame time if vsync is set.
|
||||
* @param fps The desired frame rate, in frames per second
|
||||
*/
|
||||
public static void sync3(int fps) {
|
||||
/* public static void sync3(int fps) {
|
||||
long savedTimeThen;
|
||||
long timeNow;
|
||||
synchronized (GlobalLock.lock) {
|
||||
|
|
@ -411,7 +411,7 @@ public final class Display {
|
|||
timeNow = Sys.getTime();
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
private static long timeLate;
|
||||
|
||||
/**
|
||||
|
|
@ -419,7 +419,7 @@ public final class Display {
|
|||
*
|
||||
* @param fps The desired frame rate, in frames per second
|
||||
*/
|
||||
public static void sync2(int fps) {
|
||||
/* public static void sync2(int fps) {
|
||||
long timeNow;
|
||||
long gapTo;
|
||||
long savedTimeLate;
|
||||
|
|
@ -443,7 +443,7 @@ public final class Display {
|
|||
timeThen = timeNow;
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
/**
|
||||
* Best sync method that works reliably.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue