Fixed error in OnXXXX functions
This commit is contained in:
parent
0292a167c0
commit
587454e708
5 changed files with 61 additions and 17 deletions
|
@ -29,7 +29,6 @@ int main(int argc, char** argv)
|
|||
window.SetMaxFramerate(144);
|
||||
|
||||
SDL_Event event;
|
||||
float t = 0.f;
|
||||
|
||||
std::string title = "";
|
||||
while (window.IsOpen())
|
||||
|
@ -55,7 +54,6 @@ int main(int argc, char** argv)
|
|||
100, 100));
|
||||
|
||||
window.Display();
|
||||
t += 0.08;
|
||||
|
||||
diff = std::chrono::duration_cast<std::chrono::microseconds>
|
||||
(std::chrono::steady_clock::now() - start).count();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue