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;
|
||||
assembleTextureArray = false;
|
||||
}
|
||||
if (strcmp("-volume", argv[i]) == 0)
|
||||
else if (strcmp("-volume", argv[i]) == 0)
|
||||
{
|
||||
assembleCubeMap = false;
|
||||
assembleVolume = true;
|
||||
assembleTextureArray = false;
|
||||
}
|
||||
if (strcmp("-array", argv[i]) == 0)
|
||||
else if (strcmp("-array", argv[i]) == 0)
|
||||
{
|
||||
assembleCubeMap = false;
|
||||
assembleVolume = false;
|
||||
|
Loading…
Reference in New Issue
Block a user