mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-23 08:29:09 +00:00
Delay frame drawing for a 30 FPS target. Change rendering configuration for faster drawing. Perform the segue after the URL request returns.
This commit is contained in:
committed by
Diego Waxemberg
parent
4b9e68950a
commit
01f11fc095
@@ -27,7 +27,7 @@ static bool render = false;
|
||||
if (render)
|
||||
{
|
||||
[self.renderTarget performSelectorOnMainThread:@selector(setNeedsDisplay) withObject:NULL waitUntilDone:TRUE];
|
||||
usleep(5000);
|
||||
usleep(25000);
|
||||
} else {
|
||||
sleep(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user