diff options
author | Chris Robinson <[email protected]> | 2019-08-13 22:06:14 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-08-13 22:06:14 -0700 |
commit | ecab99bce914c6c74351fb2d5878dd82d73b1fe2 (patch) | |
tree | 1bc8ed49ab939712abf3d0a079b96f9662b8beed /al/listener.h | |
parent | 0806a003e2b359b173b84548d8b78a25e8b51ca3 (diff) |
Move update pointers to the containers they update
Diffstat (limited to 'al/listener.h')
-rw-r--r-- | al/listener.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/al/listener.h b/al/listener.h index 1b440bca..318ab024 100644 --- a/al/listener.h +++ b/al/listener.h @@ -37,11 +37,12 @@ struct ALlistener { std::atomic_flag PropsClean; - /* Pointer to the most recent property values that are awaiting an update. - */ - std::atomic<ALlistenerProps*> Update{nullptr}; - struct { + /* Pointer to the most recent property values that are awaiting an + * update. + */ + std::atomic<ALlistenerProps*> Update{nullptr}; + alu::Matrix Matrix; alu::Vector Velocity; |