summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Faye-Lund <erik.faye-lund@collabora.com>2020-04-16 13:57:46 +0200
committerErik Faye-Lund <erik.faye-lund@collabora.com>2020-04-17 10:27:36 +0000
commit82b6c7a9f1de8abbf6812db50dc9ae2c3654438f (patch)
tree6cbd9ed12ca3c949de365a01cfc94bc0e7846a96
parentd24d852fc72b7b61fbae0599ab495cd2ae7bcfbe (diff)
wglgears: drop random printf in sRGB code-path
This seems a bit arbitrary, we don't generally print messages about internals like this. So let's drop it. Reviewed-by: Brian Paul <brianp@vmware.com>
-rw-r--r--src/wgl/wglgears.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wgl/wglgears.c b/src/wgl/wglgears.c
index 819c8ba9..f6d6367d 100644
--- a/src/wgl/wglgears.c
+++ b/src/wgl/wglgears.c
@@ -461,8 +461,6 @@ make_window(const char *name, int x, int y, int width, int height)
exit(0);
}
assert(numFormats > 0);
- printf("Chose sRGB pixel format %d (0x%x)\n", pixelFormat, pixelFormat);
- fflush(stdout);
PIXELFORMATDESCRIPTOR newPfd;
DescribePixelFormat(hDC, pixelFormat, sizeof(pfd), &newPfd);