Apply alpha buffer control fix to accum buffer too.
authorKarl Schultz <kschultz@freedesktop.org>
Tue, 23 Apr 2002 18:39:09 +0000 (18:39 +0000)
committerKarl Schultz <kschultz@freedesktop.org>
Tue, 23 Apr 2002 18:39:09 +0000 (18:39 +0000)
src/mesa/drivers/windows/wmesa.c

index 73037b7d05c5180de34fdb0dc93037e89a409550..f7d47247d6797909feb7a5f86033a2cdac032041 100644 (file)
@@ -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) {