Fix nvassemble command-line options parsing.

This commit is contained in:
mpersano 2016-02-28 08:17:35 -03:00
parent 2bd367a4dc
commit 46e5c6a8ee

View File

@ -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;