mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 16:00:08 +01:00
minor changes
This commit is contained in:
parent
18906b7904
commit
f8c6b6628d
1 changed files with 6 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue