summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-16 08:32:55 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-16 08:32:55 +0200
commitffc2499f51dd8aa07c0042292e0e450a7228a4b8 (patch)
treed020d8dd06e1bb3af27493be4ef05de1a932b031
parent0ce0201f35bd4ed5d885b7856b0e2d74bba66e56 (diff)
Revert "try to fix FSX stutter while FSX has focus"opentrack-2.3-rc14
This reverts commit ab47eac174db02710a7fa6c194e00c31cef755a4.
-rw-r--r--ftnoir_protocol_sc/ftnoir_protocol_sc.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp b/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp
index 52db14f8..7d4e09f9 100644
--- a/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp
+++ b/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp
@@ -41,9 +41,6 @@ FTNoIR_Protocol::~FTNoIR_Protocol()
void FTNoIR_Protocol::run()
{
- (void) SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_ABOVE_NORMAL);
- (void) SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_HIGHEST);
-
HANDLE event = CreateEvent(NULL, FALSE, FALSE, nullptr);
if (event == nullptr)