summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/ftnoir_tracker_pt.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-24 17:57:29 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-24 17:57:29 +0200
commitda9bc9bb5438002e9711720e2446bf6e4d47e386 (patch)
tree5a782153b56c2326796af3db31693da23465ee7e /ftnoir_tracker_pt/ftnoir_tracker_pt.h
parent2f59cf809c3ed96f28fa53b0671091b5b2a7ce95 (diff)
Use atomic ops instead of locking
Diffstat (limited to 'ftnoir_tracker_pt/ftnoir_tracker_pt.h')
-rw-r--r--ftnoir_tracker_pt/ftnoir_tracker_pt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt.h b/ftnoir_tracker_pt/ftnoir_tracker_pt.h
index 014cab76..0c45c6b6 100644
--- a/ftnoir_tracker_pt/ftnoir_tracker_pt.h
+++ b/ftnoir_tracker_pt/ftnoir_tracker_pt.h
@@ -80,7 +80,7 @@ protected:
bool bEnableZ;
long frame_count;
- int commands;
+ volatile int commands;
VideoWidget* video_widget;
Timer time;