huge cleanup and conversion of most string handling (especially paths) to unicode

please note: format strings must be %hs for char* arguments and %ls for
wchar_t*

This was SVN commit r7161.
This commit is contained in:
janwas
2009-11-03 21:46:35 +00:00
parent a46f3432f3
commit 8a52113e60
317 changed files with 2517 additions and 2588 deletions
+4 -4
View File
@@ -158,7 +158,7 @@ void VertexArray::Layout()
m_Stride = 0;
//debug_printf("Layouting VertexArray\n");
//debug_printf(L"Layouting VertexArray\n");
for(int idx = (int)m_Attributes.size()-1; idx >= 0; --idx)
{
@@ -178,7 +178,7 @@ void VertexArray::Layout()
break;
default:
attrSize = 0;
debug_warn("Bad AttributeInfo::Type"); break;
debug_warn(L"Bad AttributeInfo::Type"); break;
}
attrSize *= attr->elems;
@@ -186,12 +186,12 @@ void VertexArray::Layout()
attr->offset = m_Stride;
m_Stride = (m_Stride + attrSize + 3) & ~3;
//debug_printf("%i: offset: %u\n", idx, attr->offset);
//debug_printf(L"%i: offset: %u\n", idx, attr->offset);
}
m_Stride = RoundStride(m_Stride);
//debug_printf("Stride: %u\n", m_Stride);
//debug_printf(L"Stride: %u\n", m_Stride);
if (m_Stride)
m_BackingStore = new char[m_Stride * m_NumVertices];