Project

General

Profile

« Previous | Next » 

Revision 0a24bdd7

Added by Leszek Koltunski over 7 years ago

Minor.

View differences:

src/main/java/org/distorted/library/DistortedScreen.java
140 140
    durations = new long[NUM_FRAMES+1];
141 141
    currDuration = 0;
142 142

  
143
    for(int i=0; i<NUM_FRAMES+1; i++) durations[i]=0;
143
    for(int i=0; i<NUM_FRAMES+1; i++) durations[i]=16;  // Assume FPS will be
144
    durations[NUM_FRAMES] = NUM_FRAMES*16;              // close to 1000/16 ~ 60
144 145
    }
145 146
  }

Also available in: Unified diff