Commit f145b000 authored by Christopher Tenter's avatar Christopher Tenter
Browse files

cppcheck warning

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent d40d683b
......@@ -187,7 +187,7 @@ void GPUCacheOptimizer::OptimizeVertices(unsigned int NumTris, unsigned int NumV
// simply iterate over indices and increment vertex location if unvisited vertex found
unsigned int uCounter = 0; // vertex counter
memset(pVertMap, 0xFFFFFFFF, NumVerts * sizeof(unsigned int));
memset(pVertMap, 0xFF, NumVerts * sizeof(unsigned int));
for (unsigned int i = 0; i < NumTris * 3; ++i)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment