From: Brian Paul Date: Thu, 5 Jun 2008 21:37:17 +0000 (-0600) Subject: minor changes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8c6b6628dce66624a7a632992e6b8ab5db42c1c;p=mesa.git minor changes --- diff --git a/progs/osdemos/ostest1.c b/progs/osdemos/ostest1.c index 2c7adfc3537..000b8c4a781 100644 --- a/progs/osdemos/ostest1.c +++ b/progs/osdemos/ostest1.c @@ -407,7 +407,10 @@ test(GLenum type, GLint bits, const char *filename) glGetIntegerv(GL_ALPHA_BITS, &cBits); assert(cBits == bits); - printf("Rendering %d bit/channel image: %s\n", bits, filename); + if (WriteFiles) + printf("Rendering %d bit/channel image: %s\n", bits, filename); + else + printf("Rendering %d bit/channel image\n", bits); OSMesaColorClamp(GL_TRUE); @@ -458,6 +461,8 @@ main( int argc, char *argv[] ) { int i; + printf("Use -f to write image files\n"); + for (i = 1; i < argc; i++) { if (strcmp(argv[i], "-f") == 0) WriteFiles = GL_TRUE;