Added timer and animations
This commit is contained in:
@@ -44,6 +44,8 @@ static double lastTick;
|
||||
|
||||
static float timescale = 1.f;
|
||||
|
||||
static double framems;
|
||||
|
||||
void seghandle(int sig) {
|
||||
#ifdef __linux__
|
||||
void *ents[512];
|
||||
@@ -192,7 +194,6 @@ int main(int argc, char **args) {
|
||||
window_renderall();
|
||||
}
|
||||
|
||||
|
||||
double wait = fmax(0, renderMS-elapsed);
|
||||
input_poll(wait);
|
||||
window_all_handle_events();
|
||||
|
||||
Reference in New Issue
Block a user