From: Karl Schultz Date: Tue, 23 Apr 2002 18:39:09 +0000 (+0000) Subject: Apply alpha buffer control fix to accum buffer too. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc2270b461cd84df4ea02a7ac024198949f55e8b;p=mesa.git Apply alpha buffer control fix to accum buffer too. --- 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) {