Fix uninitialized read of Engine::dt early after startup
This commit is contained in:
parent
369dadf81e
commit
a2c7242c7c
@ -31,6 +31,7 @@ Engine::Engine():
|
|||||||
maxWidth(0),
|
maxWidth(0),
|
||||||
maxHeight(0)
|
maxHeight(0)
|
||||||
{
|
{
|
||||||
|
SetFps(FpsLimit); // populate dt with whatever that makes any sort of sense
|
||||||
}
|
}
|
||||||
|
|
||||||
Engine::~Engine()
|
Engine::~Engine()
|
||||||
|
Reference in New Issue
Block a user