Graphics: Fix warning
This commit is contained in:
@@ -187,9 +187,6 @@ namespace Nz
|
||||
{
|
||||
switch (component.component)
|
||||
{
|
||||
case VertexComponent::Unused:
|
||||
continue;
|
||||
|
||||
case VertexComponent::Position:
|
||||
if (positionLocationIndex != InvalidOption)
|
||||
config.optionValues[positionLocationIndex] = static_cast<Int32>(locationIndex);
|
||||
@@ -207,6 +204,10 @@ namespace Nz
|
||||
config.optionValues[uvLocationIndex] = static_cast<Int32>(locationIndex);
|
||||
|
||||
break;
|
||||
|
||||
case VertexComponent::Unused:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
++locationIndex;
|
||||
|
||||
Reference in New Issue
Block a user