Skip to content

Commit 76146b8

Browse files
authored
Merge pull request #673 from gongminmin/RemoveEmpty
Remove nonsense vertexData.empty() calls
2 parents 158b9a4 + efca3ed commit 76146b8

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Samples/Desktop/D3D12VariableRateShading/src/VariableRateShadingScene.h

-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ namespace SampleAssets
6262
const float width = 266.66f * scale;
6363
const float height = 150.0f * scale;
6464

65-
vertexData.empty();
6665
vertexData.resize(4);
6766

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

Samples/UWP/D3D12VariableRateShading/src/VariableRateShadingScene.h

-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ namespace SampleAssets
6262
const float width = 266.66f * scale;
6363
const float height = 150.0f * scale;
6464

65-
vertexData.empty();
6665
vertexData.resize(4);
6766

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

0 commit comments

Comments
 (0)