Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 335 vs 337 for /trunk/Source Code/Libs/src/GLIM/glimBatchData.cpp

Diff revisions: vs.
  @@ -15,15 +15,15 @@
15 15 {
16 16 GlimArrayData::GlimArrayData ()
17 17 {
18 - Reset ();
18 + Reset ();
19 19 }
20 20
21 21 void GlimArrayData::Reset (void)
22 22 {
23 23 m_DataType = GLIM_NODATA;
24 24 m_ArrayData.clear ();
25 - m_ArrayData.reserve(256);
26 -
25 + m_ArrayData.reserve(256);
26 +
27 27 m_CurrentValue[0].Int = 0;
28 28 m_CurrentValue[1].Int = 0;
29 29 m_CurrentValue[2].Int = 0;
  @@ -158,13 +158,13 @@
158 158 m_fMinZ = 99999999.0f;
159 159 m_fMaxZ =-99999999.0f;
160 160
161 - if (reserve) {
162 - m_PositionData.reserve (64 * 3);
163 - m_IndexBuffer_Points.reserve (16);
164 - m_IndexBuffer_Lines.reserve (32);
165 - m_IndexBuffer_Triangles.reserve (128);
166 - m_IndexBuffer_Wireframe.reserve (128);
167 - }
161 + if (reserve) {
162 + m_PositionData.reserve (64 * 3);
163 + m_IndexBuffer_Points.reserve (16);
164 + m_IndexBuffer_Lines.reserve (32);
165 + m_IndexBuffer_Triangles.reserve (128);
166 + m_IndexBuffer_Wireframe.reserve (128);
167 + }
168 168 #ifdef AE_RENDERAPI_D3D11
169 169 if (m_pVertexBuffer)
170 170 {