summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/windows
diff options
context:
space:
mode:
authorKarl Schultz <[email protected]>2002-04-23 18:39:09 +0000
committerKarl Schultz <[email protected]>2002-04-23 18:39:09 +0000
commitdc2270b461cd84df4ea02a7ac024198949f55e8b (patch)
tree38ee025d2cb65bb91a9eea8eb8095aa78052cdaf /src/mesa/drivers/windows
parente694a8765a2406838354e39d5c40dab5fbb744e9 (diff)
Apply alpha buffer control fix to accum buffer too.
Diffstat (limited to 'src/mesa/drivers/windows')
-rw-r--r--src/mesa/drivers/windows/wmesa.c5
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) {