Skip to content

Commit

Permalink
[fixed] issue 329, vsynch was wrong, thanks ruben01
Browse files Browse the repository at this point in the history
  • Loading branch information
badlogicgames committed Jul 5, 2011
1 parent 5d3aab4 commit 9580fb7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ public LwjglDisplayMode (int width, int height, int refreshRate, int bitsPerPixe

@Override public void setVSync (boolean vsync) {
this.vsync = vsync;
if(vsync && !config.useCPUSynch == false) Display.setVSyncEnabled(true);
if(!vsync && !config.useCPUSynch == false) Display.setVSyncEnabled(false);
if(vsync && !config.useCPUSynch) Display.setVSyncEnabled(true);
if(!vsync && !config.useCPUSynch) Display.setVSyncEnabled(false);
}
}

0 comments on commit 9580fb7

Please sign in to comment.