mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
Apply alpha buffer control fix to accum buffer too.
This commit is contained in:
parent
e694a8765a
commit
dc2270b461
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
* Windows (Win32) device driver for Mesa 3.4
|
||||||
|
|
@ -1331,7 +1331,8 @@ WMesaContext WMesaCreateContext( HWND hWnd, HPALETTE* Pal,
|
||||||
0, /* index bits */
|
0, /* index bits */
|
||||||
16, /* depth_bits */
|
16, /* depth_bits */
|
||||||
8, /* stencil_bits */
|
8, /* stencil_bits */
|
||||||
16,16,16,16,/* accum_bits */
|
16,16,16,/* accum_bits */
|
||||||
|
alpha_flag ? 16 : 0, /* alpha accum */
|
||||||
1);
|
1);
|
||||||
|
|
||||||
if (!c->gl_visual) {
|
if (!c->gl_visual) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue