mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-02 19:46:29 +03:00
Fix incorrect UITerminal draw invalidation when not visible.
ecode: Fix set frame rate limit at window creation.
This commit is contained in:
@@ -3006,6 +3006,8 @@ void App::init( const LogLevel& logLevel, std::string file, const Float& pidelDe
|
||||
|
||||
Log::info( "Window creation took: %.2f ms", globalClock.getElapsedTime().asMilliseconds() );
|
||||
|
||||
mWindow->setFrameRateLimit( mConfig.context.FrameRateLimit );
|
||||
|
||||
if ( mConfig.windowState.position != Vector2i( -1, -1 ) &&
|
||||
mConfig.windowState.displayIndex < displayManager->getDisplayCount() ) {
|
||||
mWindow->setPosition( mConfig.windowState.position.x, mConfig.windowState.position.y );
|
||||
|
||||
Reference in New Issue
Block a user