Fix 'uninitialized value used' warnings

This commit is contained in:
Jonas Kulla 2014-08-16 04:02:44 +02:00
parent f58e4ab00d
commit 840ecee084
2 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,7 @@ void EventThread::process(RGSSThreadData &rtData)
int toggleFSMod = rtData.config.anyAltToggleFS ? KMOD_ALT : KMOD_LALT;
fps.lastFrame = SDL_GetPerformanceCounter();
fps.displayCounter = 0;
fps.displaying = false;
fps.immInitFlag = false;
fps.immFiniFlag = false;

View File

@ -114,6 +114,7 @@ struct SpritePrivate
wave.length = 180;
wave.speed = 360;
wave.phase = 0.0;
wave.dirty = false;
#endif
}