mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 18:32:42 +01:00
- [Psy-X] added log flush
This commit is contained in:
parent
019c38c5ce
commit
33cb04ea9c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user