Skip to content

Commit

Permalink
Merge pull request #673 from gongminmin/RemoveEmpty
Browse files Browse the repository at this point in the history
Remove nonsense vertexData.empty() calls
  • Loading branch information
sebmerry authored Nov 16, 2020
2 parents 158b9a4 + efca3ed commit 76146b8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ namespace SampleAssets
const float width = 266.66f * scale;
const float height = 150.0f * scale;

vertexData.empty();
vertexData.resize(4);

vertexData[0].position = { x, y, z };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ namespace SampleAssets
const float width = 266.66f * scale;
const float height = 150.0f * scale;

vertexData.empty();
vertexData.resize(4);

vertexData[0].position = { x, y, z };
Expand Down

0 comments on commit 76146b8

Please sign in to comment.