Fix nvassemble command-line options parsing.
This commit is contained in:
parent
2bd367a4dc
commit
46e5c6a8ee
@ -59,13 +59,13 @@ int main(int argc, char *argv[])
|
|||||||
assembleVolume = false;
|
assembleVolume = false;
|
||||||
assembleTextureArray = false;
|
assembleTextureArray = false;
|
||||||
}
|
}
|
||||||
if (strcmp("-volume", argv[i]) == 0)
|
else if (strcmp("-volume", argv[i]) == 0)
|
||||||
{
|
{
|
||||||
assembleCubeMap = false;
|
assembleCubeMap = false;
|
||||||
assembleVolume = true;
|
assembleVolume = true;
|
||||||
assembleTextureArray = false;
|
assembleTextureArray = false;
|
||||||
}
|
}
|
||||||
if (strcmp("-array", argv[i]) == 0)
|
else if (strcmp("-array", argv[i]) == 0)
|
||||||
{
|
{
|
||||||
assembleCubeMap = false;
|
assembleCubeMap = false;
|
||||||
assembleVolume = false;
|
assembleVolume = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user