diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2008-07-31 00:45:04 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2008-07-31 00:45:04 +0400 |
commit | 01b1bd49015ee0f0389a28b62669aa2414d2d46d (patch) | |
tree | 53e1a41841b987a0dd0fb4ad5fcc27eeaa6dcfdf /source/gameengine/Rasterizer/RAS_MeshObject.cpp | |
parent | 8a8a12ed846dc86b2f9b21582fd34d941beed7ed (diff) |
* another commit adding std:: to the sort call (older msvc [<9] choked?)
Diffstat (limited to 'source/gameengine/Rasterizer/RAS_MeshObject.cpp')
-rw-r--r-- | source/gameengine/Rasterizer/RAS_MeshObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Rasterizer/RAS_MeshObject.cpp b/source/gameengine/Rasterizer/RAS_MeshObject.cpp index adef998acc2..af5228e4c35 100644 --- a/source/gameengine/Rasterizer/RAS_MeshObject.cpp +++ b/source/gameengine/Rasterizer/RAS_MeshObject.cpp @@ -676,7 +676,7 @@ void RAS_MeshObject::SortPolygons(const MT_Transform &transform) slots[j].get(vertexarray, indexarray, j*nvert, nvert, pnorm); /* sort (stable_sort might be better, if flickering happens?) */ - sort(slots.begin(), slots.end(), backtofront()); + std::sort(slots.begin(), slots.end(), backtofront()); /* get indices from temporary array again */ for(j=0; j<totpoly; j++) |