diff options
-rw-r--r-- | src/mesa/drivers/windows/wmesa.c | 5 |
1 files 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) { |