Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix a char buffer destination size in Render.cpp for VideoDX11.
  • Loading branch information
lioncash committed Jun 18, 2013
1 parent d78f009 commit f59f059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Plugins/Plugin_VideoDX11/Src/Render.cpp
Expand Up @@ -960,7 +960,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons
if (SConfig::GetInstance().m_ShowLag)
{
char lag[10];
StringCchPrintfA(lag, 1000, "Lag: %llu\n", Movie::g_currentLagCount);
StringCchPrintfA(lag, 10, "Lag: %llu\n", Movie::g_currentLagCount);
D3D::font.DrawTextScaled(0, 18, 20, 0.0f, 0xFF00FFFF, lag);
}

Expand Down

0 comments on commit f59f059

Please sign in to comment.