Skip to content
Snippets Groups Projects
Commit ccdefb25 authored by Tofu Linden's avatar Tofu Linden
Browse files

fix(?) another bug spotted by gcc.

parent e6fe3b1f
Branches
Tags
No related merge requests found
...@@ -371,7 +371,7 @@ void LLFace::setSize(S32 num_vertices, S32 num_indices, bool align) ...@@ -371,7 +371,7 @@ void LLFace::setSize(S32 num_vertices, S32 num_indices, bool align)
if (align) if (align)
{ {
//allocate vertices in blocks of 4 for alignment //allocate vertices in blocks of 4 for alignment
S32 num_vertices = (num_vertices + 0x3) & ~0x3; num_vertices = (num_vertices + 0x3) & ~0x3;
} }
if (mGeomCount != num_vertices || if (mGeomCount != num_vertices ||
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment