Fix 'uninitialized value used' warnings
This commit is contained in:
parent
f58e4ab00d
commit
840ecee084
|
@ -85,6 +85,7 @@ void EventThread::process(RGSSThreadData &rtData)
|
||||||
int toggleFSMod = rtData.config.anyAltToggleFS ? KMOD_ALT : KMOD_LALT;
|
int toggleFSMod = rtData.config.anyAltToggleFS ? KMOD_ALT : KMOD_LALT;
|
||||||
|
|
||||||
fps.lastFrame = SDL_GetPerformanceCounter();
|
fps.lastFrame = SDL_GetPerformanceCounter();
|
||||||
|
fps.displayCounter = 0;
|
||||||
fps.displaying = false;
|
fps.displaying = false;
|
||||||
fps.immInitFlag = false;
|
fps.immInitFlag = false;
|
||||||
fps.immFiniFlag = false;
|
fps.immFiniFlag = false;
|
||||||
|
|
|
@ -114,6 +114,7 @@ struct SpritePrivate
|
||||||
wave.length = 180;
|
wave.length = 180;
|
||||||
wave.speed = 360;
|
wave.speed = 360;
|
||||||
wave.phase = 0.0;
|
wave.phase = 0.0;
|
||||||
|
wave.dirty = false;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue