Print version number in copyright statement.
This commit is contained in:
parent
eda4786ca6
commit
58e5f6534f
@ -269,7 +269,12 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("NVIDIA Texture Tools - Copyright NVIDIA Corporation 2007\n\n");
|
const uint version = nvtt::version();
|
||||||
|
const uint major = version / 100;
|
||||||
|
const uint minor = version % 100;
|
||||||
|
|
||||||
|
|
||||||
|
printf("NVIDIA Texture Tools %u.%u - Copyright NVIDIA Corporation 2007\n\n", major, minor);
|
||||||
|
|
||||||
if (input.isNull())
|
if (input.isNull())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user