@@ -70,7 +70,7 @@ template <class T> IC bool cmp_textures_lexN(const T &lhs, const T &rhs)
7070 return std::lexicographical_compare (t1->begin (), t1->end (), t2->begin (), t2->end ());
7171}
7272
73- template <class T > void sort_tlist (xr_vector<T::template TNode*, render_alloc<T:: template TNode*> >& lst, T& textures)
73+ template <class T > void sort_tlist (xr_vector<T::template TNode*>& lst, T& textures)
7474{
7575 int amount = textures.begin ()->key ->size ();
7676
@@ -82,7 +82,7 @@ template <class T> void sort_tlist(xr_vector<T::template TNode*, render_alloc<T:
8282 }
8383 else
8484 {
85- xr_vector<T::template TNode*, render_alloc<T:: template TNode*> > temp;
85+ xr_vector<T::template TNode*> temp;
8686
8787 // Split into 2 parts
8888 for (auto &it : textures)
@@ -123,7 +123,7 @@ void D3DXRenderBase::r_dsgraph_render_graph(u32 _priority)
123123 {
124124 mapNormalVS& vs = mapNormalPasses[_priority][iPass];
125125
126- xr_vector<mapNormalVS::TNode*, render_alloc<mapNormalVS::TNode*> > nrmVS;
126+ xr_vector<mapNormalVS::TNode*> nrmVS;
127127 vs.getANY_P (nrmVS);
128128 std::sort (nrmVS.begin (), nrmVS.end (), cmp_val_ssa<mapNormalVS::TNode*>);
129129 for (auto & vs_it : nrmVS)
@@ -134,7 +134,7 @@ void D3DXRenderBase::r_dsgraph_render_graph(u32 _priority)
134134 // GS setup
135135 mapNormalGS& gs = vs_it->val ;
136136
137- xr_vector<mapNormalGS::TNode*, render_alloc<mapNormalGS::TNode*> > nrmGS;
137+ xr_vector<mapNormalGS::TNode*> nrmGS;
138138 gs.getANY_P (nrmGS);
139139 std::sort (nrmGS.begin (), nrmGS.end (), cmp_val_ssa<mapNormalGS::TNode*>);
140140 for (auto & gs_it : nrmGS)
@@ -145,7 +145,7 @@ void D3DXRenderBase::r_dsgraph_render_graph(u32 _priority)
145145#else // USE_DX10
146146 mapNormalPS& ps = vs_it->val ;
147147#endif // USE_DX10
148- xr_vector<mapNormalPS::TNode*, render_alloc<mapNormalPS::TNode*> > nrmPS;
148+ xr_vector<mapNormalPS::TNode*> nrmPS;
149149 ps.getANY_P (nrmPS);
150150 std::sort (nrmPS.begin (), nrmPS.end (), cmp_ps_val_ssa<mapNormalPS::TNode*>);
151151 for (auto &ps_it : nrmPS)
@@ -159,7 +159,7 @@ void D3DXRenderBase::r_dsgraph_render_graph(u32 _priority)
159159#else
160160 mapNormalCS& cs = ps_it->val ;
161161#endif
162- xr_vector<mapNormalCS::TNode*, render_alloc<mapNormalCS::TNode*> > nrmCS;
162+ xr_vector<mapNormalCS::TNode*> nrmCS;
163163 cs.getANY_P (nrmCS);
164164 std::sort (nrmCS.begin (), nrmCS.end (), cmp_val_ssa<mapNormalCS::TNode*>);
165165 for (auto &cs_it : nrmCS)
@@ -168,7 +168,7 @@ void D3DXRenderBase::r_dsgraph_render_graph(u32 _priority)
168168
169169 mapNormalStates& states = cs_it->val ;
170170
171- xr_vector<mapNormalStates::TNode*, render_alloc<mapNormalStates::TNode*> > nrmStates;
171+ xr_vector<mapNormalStates::TNode*> nrmStates;
172172 states.getANY_P (nrmStates);
173173 std::sort (nrmStates.begin (), nrmStates.end (), cmp_val_ssa<mapNormalStates::TNode*>);
174174 for (auto &state_it : nrmStates)
@@ -177,7 +177,7 @@ void D3DXRenderBase::r_dsgraph_render_graph(u32 _priority)
177177
178178 mapNormalTextures& tex = state_it->val ;
179179
180- xr_vector<mapNormalTextures::TNode*, render_alloc<mapNormalTextures::TNode*> > nrmTextures;
180+ xr_vector<mapNormalTextures::TNode*> nrmTextures;
181181 sort_tlist<mapNormalTextures>(nrmTextures, tex);
182182 for (auto &tex_it : nrmTextures)
183183 {
@@ -221,7 +221,7 @@ void D3DXRenderBase::r_dsgraph_render_graph(u32 _priority)
221221 {
222222 mapMatrixVS& vs = mapMatrixPasses[_priority][iPass];
223223
224- xr_vector<mapMatrixVS::TNode*, render_alloc<mapMatrixVS::TNode*> > matVS;
224+ xr_vector<mapMatrixVS::TNode*> matVS;
225225 vs.getANY_P (matVS);
226226 std::sort (matVS.begin (), matVS.end (), cmp_val_ssa<mapMatrixVS::TNode*>);
227227 for (auto &vs_id : matVS)
@@ -231,7 +231,7 @@ void D3DXRenderBase::r_dsgraph_render_graph(u32 _priority)
231231#if defined(USE_DX10) || defined(USE_DX11)
232232 mapMatrixGS& gs = vs_id->val ;
233233
234- xr_vector<mapMatrixGS::TNode*, render_alloc<mapMatrixGS::TNode*> > matGS;
234+ xr_vector<mapMatrixGS::TNode*> matGS;
235235 gs.getANY_P (matGS);
236236 std::sort (matGS.begin (), matGS.end (), cmp_val_ssa<mapMatrixGS::TNode*>);
237237 for (auto &gs_it : matGS)
@@ -242,7 +242,7 @@ void D3DXRenderBase::r_dsgraph_render_graph(u32 _priority)
242242#else // USE_DX10
243243 mapMatrixPS& ps = vs_id->val ;
244244#endif // USE_DX10
245- xr_vector<mapMatrixPS::TNode *, render_alloc<mapMatrixPS::TNode *> > matPS;
245+ xr_vector<mapMatrixPS::TNode *> matPS;
246246 ps.getANY_P (matPS);
247247 std::sort (matPS.begin (), matPS.end (), cmp_ps_val_ssa<mapMatrixPS::TNode *>);
248248 for (auto &ps_it : matPS)
@@ -256,7 +256,7 @@ void D3DXRenderBase::r_dsgraph_render_graph(u32 _priority)
256256#else
257257 mapMatrixCS& cs = ps_it->val ;
258258#endif
259- xr_vector<mapMatrixCS::TNode*, render_alloc<mapMatrixCS::TNode*> > matCS;
259+ xr_vector<mapMatrixCS::TNode*> matCS;
260260 cs.getANY_P (matCS);
261261 std::sort (matCS.begin (), matCS.end (), cmp_val_ssa<mapMatrixCS::TNode*>);
262262 for (auto &cs_it : matCS)
@@ -265,7 +265,7 @@ void D3DXRenderBase::r_dsgraph_render_graph(u32 _priority)
265265
266266 mapMatrixStates& states = cs_it->val ;
267267
268- xr_vector<mapMatrixStates::TNode*, render_alloc<mapMatrixStates::TNode*> > matStates;
268+ xr_vector<mapMatrixStates::TNode*> matStates;
269269 states.getANY_P (matStates);
270270 std::sort (matStates.begin (), matStates.end (), cmp_val_ssa<mapMatrixStates::TNode*>);
271271 for (auto &state_it : matStates)
@@ -274,7 +274,7 @@ void D3DXRenderBase::r_dsgraph_render_graph(u32 _priority)
274274
275275 mapMatrixTextures& tex = state_it->val ;
276276
277- xr_vector<mapMatrixTextures::TNode*, render_alloc<mapMatrixTextures::TNode*> > matTextures;
277+ xr_vector<mapMatrixTextures::TNode*> matTextures;
278278 sort_tlist<mapMatrixTextures>(matTextures, tex);
279279 for (auto &tex_it : matTextures)
280280 {
@@ -603,7 +603,7 @@ void D3DXRenderBase::r_dsgraph_render_subspace(IRender_Sector* _sector, CFrustum
603603
604604void D3DXRenderBase::r_dsgraph_render_R1_box (IRender_Sector* S, Fbox& BB, int sh)
605605{
606- xr_vector<dxRender_Visual*, render_alloc<dxRender_Visual*> > lstVisuals;
606+ xr_vector<dxRender_Visual*> lstVisuals;
607607 lstVisuals.push_back (((CSector*)S)->root ());
608608
609609 for (auto &it : lstVisuals)
0 commit comments