From 525d517f86f8115174b57568e18aecccf628961e Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 19 Sep 2010 01:31:23 +0200 Subject: [PATCH] Forcing one FSAA sample to zero for consistency. --- src/win32/win32_window.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/win32/win32_window.c b/src/win32/win32_window.c index 7d9b96e8..bca1b79d 100755 --- a/src/win32/win32_window.c +++ b/src/win32/win32_window.c @@ -1568,7 +1568,11 @@ void _glfwPlatformRefreshWindowParams(void) if (window->WGL.has_WGL_ARB_multisample) { window->samples = getPixelFormatAttrib(window, pixelFormat, WGL_SAMPLES_ARB); - // Should we force 1 to 0 here for consistency, or keep 1 for transparency? + + // We force 1 to zero here because all the other APIs say zero when + // they really mean 1 + if (window->samples == 1) + window->samples = 0; } else window->samples = 0;