From dc2270b461cd84df4ea02a7ac024198949f55e8b Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Tue, 23 Apr 2002 18:39:09 +0000 Subject: [PATCH] Apply alpha buffer control fix to accum buffer too. --- src/mesa/drivers/windows/wmesa.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/windows/wmesa.c b/src/mesa/drivers/windows/wmesa.c index 73037b7d05c..f7d47247d67 100644 --- a/src/mesa/drivers/windows/wmesa.c +++ b/src/mesa/drivers/windows/wmesa.c @@ -1,4 +1,4 @@ -/* $Id: wmesa.c,v 1.27 2002/04/23 18:23:33 kschultz Exp $ */ +/* $Id: wmesa.c,v 1.28 2002/04/23 18:39:09 kschultz Exp $ */ /* * Windows (Win32) device driver for Mesa 3.4 @@ -1331,7 +1331,8 @@ WMesaContext WMesaCreateContext( HWND hWnd, HPALETTE* Pal, 0, /* index bits */ 16, /* depth_bits */ 8, /* stencil_bits */ - 16,16,16,16,/* accum_bits */ + 16,16,16,/* accum_bits */ + alpha_flag ? 16 : 0, /* alpha accum */ 1); if (!c->gl_visual) { -- 2.30.2