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