Graphics: Fix warning
This commit is contained in:
parent
04ee6f0fd1
commit
7e65f4b544
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue