4KB is too small for some messages. Use 64KB buffer.

OpenGL extensions list bites in the ass again.
This commit is contained in:
Bartosz Taudul 2017-10-17 01:20:10 +02:00
parent c0e5dd0369
commit 6d48404934

View File

@ -2565,7 +2565,7 @@ void View::DrawMessages()
ImGui::Begin( "Messages", &m_showMessages, ImGuiWindowFlags_ShowBorders ); ImGui::Begin( "Messages", &m_showMessages, ImGuiWindowFlags_ShowBorders );
for( auto& v : m_messages ) for( auto& v : m_messages )
{ {
char tmp[4096]; char tmp[64 * 1024];
sprintf( tmp, "%10s | %s", TimeToString( v->time - m_frames[0] ), v->txt ); sprintf( tmp, "%10s | %s", TimeToString( v->time - m_frames[0] ), v->txt );
if( m_msgHighlight == v ) if( m_msgHighlight == v )
{ {