Browse Source

remove timestep drawing interpolation

master
sauer2 3 years ago
parent
commit
c71a43750b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      main.cpp

+ 2
- 2
main.cpp View File

@@ -113,7 +113,7 @@ namespace Proto4 {
}
}

void draw(sf::Time timestep) {
void draw() {

window.clear(sf::Color::Black);
window.draw(background);
@@ -153,7 +153,7 @@ namespace Proto4 {
update(updateTimestep, clock.getElapsedTime());
lagTime -= updateTimestep;
}
draw(lagTime);
draw();
}
}
}


Loading…
Cancel
Save