summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-06-05 15:37:17 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-06-05 15:37:17 -0600
commitf8c6b6628dce66624a7a632992e6b8ab5db42c1c (patch)
treec767d0344dd79bdaa2d8934fd152ed98dcd334af /progs
parent18906b7904842e8a43257b179335c600a40fe142 (diff)
minor changes
Diffstat (limited to 'progs')
-rw-r--r--progs/osdemos/ostest1.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/progs/osdemos/ostest1.c b/progs/osdemos/ostest1.c
index 2c7adfc353..000b8c4a78 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;