summaryrefslogtreecommitdiffstats
path: root/src/wgl/wglinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wgl/wglinfo.c')
-rw-r--r--src/wgl/wglinfo.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wgl/wglinfo.c b/src/wgl/wglinfo.c
index 16008d2..22d8d64 100644
--- a/src/wgl/wglinfo.c
+++ b/src/wgl/wglinfo.c
@@ -334,6 +334,13 @@ print_visual_attribs_verbose(int iPixelFormat, const struct format_info *info)
info->pfd.cAccumBlueBits, info->pfd.cAccumAlphaBits);
printf(" multiSample=%d multiSampleBuffers=%d\n",
info->numSamples, info->sampleBuffers);
+ if (info->pfd.dwFlags & PFD_SWAP_EXCHANGE)
+ printf(" swapMethod = Exchange\n");
+ else if (info->pfd.dwFlags & PFD_SWAP_COPY)
+ printf(" swapMethod = Copy\n");
+ else
+ printf(" swapMethod = Undefined\n");
+
}