- [Psy-X] added log flush

This commit is contained in:
Ilya Shurumov 2021-02-15 01:08:57 +06:00
parent 019c38c5ce
commit 33cb04ea9c

View File

@ -190,6 +190,12 @@ void PsyX_Log_Finalise()
g_logStream = NULL;
}
void PsyX_Log_Flush()
{
if (g_logStream)
fflush(g_logStream);
}
// spew types
typedef enum
{
@ -499,6 +505,8 @@ bool PsyX_BeginScene()
begin_scene_flag = true;
PsyX_Log_Flush();
return true;
}