From 1ce3e6d2562f6deb247bf16b079b9a97c2b2eb30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Wed, 24 Jul 2019 20:17:26 -0700 Subject: [PATCH] Cleanup. --- tools/texturev/texturev.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tools/texturev/texturev.cpp b/tools/texturev/texturev.cpp index df5a3ccb7..c9a6455e9 100644 --- a/tools/texturev/texturev.cpp +++ b/tools/texturev/texturev.cpp @@ -1214,11 +1214,11 @@ void help(const char* _error = NULL) { if (NULL != _error) { - fprintf(stderr, "Error:\n%s\n\n", _error); + bx::printf("Error:\n%s\n\n", _error); } - fprintf(stderr - , "texturev, bgfx texture viewer tool, version %d.%d.%d.\n" + bx::printf( + "texturev, bgfx texture viewer tool, version %d.%d.%d.\n" "Copyright 2011-2019 Branimir Karadzic. All rights reserved.\n" "License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause\n\n" , BGFX_TEXTUREV_VERSION_MAJOR @@ -1226,19 +1226,19 @@ void help(const char* _error = NULL) , BGFX_API_VERSION ); - fprintf(stderr - , "Usage: texturev \n" + bx::printf( + "Usage: texturev \n" "\n" "Supported input file types:\n" ); for (uint32_t ii = 0; ii < BX_COUNTOF(s_supportedExt); ++ii) { - fprintf(stderr, " *.%s\n", s_supportedExt[ii]); + bx::printf(" *.%s\n", s_supportedExt[ii]); } - fprintf(stderr - , "\n" + bx::printf( + "\n" "Options:\n" " -h, --help Help.\n" " -v, --version Version information only.\n" @@ -1254,8 +1254,8 @@ int _main_(int _argc, char** _argv) if (cmdLine.hasArg('v', "version") ) { - fprintf(stderr - , "texturev, bgfx texture viewer tool, version %d.%d.%d.\n" + bx::printf( + "texturev, bgfx texture viewer tool, version %d.%d.%d.\n" , BGFX_TEXTUREV_VERSION_MAJOR , BGFX_TEXTUREV_VERSION_MINOR , BGFX_API_VERSION