diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2016-04-02 13:00:29 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2016-04-02 13:00:29 +0200 |
commit | f8420e0a46e1069220dcd642bca30c3fcb8c1b91 (patch) | |
tree | 4f07eaf8f8fa4829c541d8aea66a3769c8080454 /src/physics.h | |
parent | 2a8925a8612b5e632b0dbaa762ce834ad61704a8 (diff) |
Don't update xsections if unnecessary.
Diffstat (limited to 'src/physics.h')
-rw-r--r-- | src/physics.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/physics.h b/src/physics.h index 92ec6fd..1ce2a9c 100644 --- a/src/physics.h +++ b/src/physics.h @@ -35,6 +35,7 @@ typedef struct { bool running; itc_chan ctl; SDL_mutex *rotate_lock; + int64_t frame_index; // to avoid re-drawing the same fields } phy_sim; void phy_sim_destroy(phy_sim *sim); |