diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2014-02-09 16:12:59 +0100 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2014-02-09 16:14:13 +0100 |
| commit | e59f770ccbf61f012d148a390e7f76775ab2a02e (patch) | |
| tree | 4fd9c32775ca42490d8bf498e13049f4353c3037 /Source/Core/VideoCommon/VertexLoader.cpp | |
| parent | 9da6900595318620690a5cdb5094a05e17cf094e (diff) | |
Revert "Merge pull request #49 from Parlane/sprintf_tidy"
Change broke the build on Debian stable.
This reverts commit 28755439b36ac8e875d764da5db31ad693459ace, reversing
changes made to 64e01ec763d21915e7166e625f8a3e85b46fbcbb.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoader.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp index d3806aeaa7..772bb1f1f8 100644 --- a/Source/Core/VideoCommon/VertexLoader.cpp +++ b/Source/Core/VideoCommon/VertexLoader.cpp @@ -600,10 +600,9 @@ void VertexLoader::CompileVertexTranslator() if (pFunc == 0) { - Host_SysMessage( - StringFromFormat("VertexLoader_Normal::GetFunction(%i %i %i %i) returned zero!", - m_VtxDesc.Normal, m_VtxAttr.NormalFormat, - m_VtxAttr.NormalElements, m_VtxAttr.NormalIndex3).c_str()); + char temp[256]; + sprintf(temp,"%i %i %i %i", m_VtxDesc.Normal, m_VtxAttr.NormalFormat, m_VtxAttr.NormalElements, m_VtxAttr.NormalIndex3); + Host_SysMessage("VertexLoader_Normal::GetFunction returned zero!"); } WriteCall(pFunc); |
