Changeset View
Changeset View
Standalone View
Standalone View
source/ps/GameSetup/GameSetup.cpp
Show First 20 Lines • Show All 186 Lines • ▼ Show 20 Lines | void GUI_DisplayLoadProgress(int percent, const wchar_t* pending_task) | ||||
g_GUI->GetActiveGUI()->GetScriptInterface()->SetGlobal("g_LoadDescription", pending_task, true, false, true); | g_GUI->GetActiveGUI()->GetScriptInterface()->SetGlobal("g_LoadDescription", pending_task, true, false, true); | ||||
g_GUI->GetActiveGUI()->SendEventToAll("progress"); | g_GUI->GetActiveGUI()->SendEventToAll("progress"); | ||||
} | } | ||||
void Render() | void Render() | ||||
{ | { | ||||
// Do not render if not focused while in fullscreen or minimised, | |||||
// as that triggers a difficult-to-reproduce crash on some graphic cards. | |||||
if (g_app_minimized || (!g_app_has_focus && g_VideoMode.IsInFullscreen())) | |||||
vladislavbelov: Do we need these links? I have doubts, because these diffs don't describe the problem, only… | |||||
Not Done Inline ActionsI suppose that's fair enough. I like having to not go through blame. Don't care that much tbh. wraitii: I suppose that's fair enough. I like having to not go through blame. Don't care that much tbh. | |||||
return; | |||||
PROFILE3("render"); | PROFILE3("render"); | ||||
if (g_SoundManager) | if (g_SoundManager) | ||||
g_SoundManager->IdleTask(); | g_SoundManager->IdleTask(); | ||||
ogl_WarnIfError(); | ogl_WarnIfError(); | ||||
g_Profiler2.RecordGPUFrameStart(); | g_Profiler2.RecordGPUFrameStart(); | ||||
▲ Show 20 Lines • Show All 1,462 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
Do we need these links? I have doubts, because these diffs don't describe the problem, only mention, that the problem presents. The comments does the same thing. But if someone want more information, links can be found easily through the blame.