From 4e464c3777253ca7a29d11b5b9842c9ae340bac8 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 24 Oct 2005 06:42:28 +0000 Subject: [PATCH] remove old comment --- stepmania/src/InputFilter.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/stepmania/src/InputFilter.cpp b/stepmania/src/InputFilter.cpp index 81669faba5..ac8fd1cdc6 100644 --- a/stepmania/src/InputFilter.cpp +++ b/stepmania/src/InputFilter.cpp @@ -140,16 +140,6 @@ void InputFilter::Update(float fDeltaTime) { RageTimer now; - // Constructing the DeviceInput inside the nested loops caues terrible - // performance. So, construct it once outside the loop, then change - // .device and .button inside the loop. I have no idea what is causing - // the slowness. DeviceInput is a very small and simple structure, but - // it's constructor was being called NUM_INPUT_DEVICES*NUM_DEVICE_BUTTONS - // (>2000) times per Update(). - /* This should be fixed: DeviceInput's ctor uses an init list, so RageTimer - * isn't initialized each time. */ -// DeviceInput di( (InputDevice)0,0,now); - INPUTMAN->Update( fDeltaTime ); /* Make sure that nothing gets inserted while we do this, to prevent