From 58e5f6534f516d2605f66c83825b4b8e512e1046 Mon Sep 17 00:00:00 2001 From: castano Date: Thu, 22 May 2008 21:48:40 +0000 Subject: [PATCH] Print version number in copyright statement. --- src/nvtt/tools/compress.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/nvtt/tools/compress.cpp b/src/nvtt/tools/compress.cpp index 36e7694..17bd65a 100644 --- a/src/nvtt/tools/compress.cpp +++ b/src/nvtt/tools/compress.cpp @@ -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()) {