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

Moved counter into conditional code block (avoiding compiler warning)

parent a959216f
No related branches found
No related tags found
No related merge requests found
......@@ -156,8 +156,9 @@ void WindowManager::eventLoop()
if (event.type == SDL_USEREVENT &&
event.user.code == RenderEvent) {
static int i = 0;
#ifdef DEBUG_VALGRIND
// stop after i iterations when running valgrinded
static int i = 0;
if(i < 500) {
i++;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment