Skip to content
Snippets Groups Projects
Commit a2fb7720 authored by Oliver Bock's avatar Oliver Bock
Browse files

Code formatting

parent 87701845
Branches
Tags
No related merge requests found
......@@ -120,7 +120,9 @@ void WindowManager::eventLoop()
static double i = 0.0;
while (SDL_WaitEvent(&event) ) {
if (event.type == SDL_USEREVENT && event.user.code == RenderEvent) {
if (event.type == SDL_USEREVENT &&
event.user.code == RenderEvent) {
#ifdef DEBUG_VALGRIND
if(i < 0.25) {
#endif
......@@ -133,8 +135,9 @@ void WindowManager::eventLoop()
}
#endif
}
else if (event.type == SDL_USEREVENT && event.user.code
== BOINCUpdateEvent) {
else if (event.type == SDL_USEREVENT &&
event.user.code == BOINCUpdateEvent) {
}
else if (event.motion.state & (SDL_BUTTON(1) | SDL_BUTTON(3)) &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment