diff --git a/stepmania/src/SDL_utils.cpp b/stepmania/src/SDL_utils.cpp index 024bb12901..7ec5366bb5 100644 --- a/stepmania/src/SDL_utils.cpp +++ b/stepmania/src/SDL_utils.cpp @@ -508,7 +508,7 @@ bool SDL_GetEvent(SDL_Event &event, int mask) default: RageException::Throw("SDL_PeepEvents returned unexpected error: %s", SDL_GetError()); } } -#include "RageLog.h" + /* Reads all currently queued SDL events, clearing them from the queue. */ void mySDL_GetAllEvents(vector &events) { @@ -526,7 +526,7 @@ void mySDL_GetAllEvents(vector &events) void mySDL_PushEvents(vector &events) { for(unsigned i = 0; i < events.size(); ++i) - LOG->Trace("push ev %i: %i", events[i].type, SDL_PushEvent(&events[i])); + SDL_PushEvent(&events[i]); } /* For some bizarre reason, SDL_EventState flushes all events. This is a pain, so diff --git a/stepmania/src/arch/LowLevelWindow/LowLevelWindow_SDL.cpp b/stepmania/src/arch/LowLevelWindow/LowLevelWindow_SDL.cpp index 1a75109595..5c83308c03 100644 --- a/stepmania/src/arch/LowLevelWindow/LowLevelWindow_SDL.cpp +++ b/stepmania/src/arch/LowLevelWindow/LowLevelWindow_SDL.cpp @@ -56,7 +56,6 @@ bool LowLevelWindow_SDL::SetVideoMode( bool windowed, int width, int height, int e.key.type = SDL_KEYUP; e.key.keysym.sym = key; events.push_back(e); - LOG->Trace("up %i", key); } }