Graphics: Fix warning
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user