mirror of
https://github.com/nicbarker/clay.git
synced 2025-12-23 17:41:06 +00:00
removed annoying printf printing delta time every frame
This commit is contained in:
parent
1bc5105272
commit
e28d00d529
|
|
@ -136,7 +136,6 @@ int main(int argc, char *argv[]) {
|
||||||
LAST = NOW;
|
LAST = NOW;
|
||||||
NOW = SDL_GetPerformanceCounter();
|
NOW = SDL_GetPerformanceCounter();
|
||||||
deltaTime = (double)((NOW - LAST)*1000 / (double)SDL_GetPerformanceFrequency() );
|
deltaTime = (double)((NOW - LAST)*1000 / (double)SDL_GetPerformanceFrequency() );
|
||||||
printf("%f\n", deltaTime);
|
|
||||||
|
|
||||||
int mouseX = 0;
|
int mouseX = 0;
|
||||||
int mouseY = 0;
|
int mouseY = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue