From: Brian Paul Date: Thu, 31 May 2001 19:25:25 +0000 (+0000) Subject: fixed s/w alpha channel bug X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e715c4a62d57eacb4b5b3b94276f251b7a4e5d22;p=mesa.git fixed s/w alpha channel bug --- diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index c046b18822f..450b635e0ea 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -1,4 +1,4 @@ -/* $Id: osmesa.c,v 1.55 2001/05/14 16:23:04 brianp Exp $ */ +/* $Id: osmesa.c,v 1.56 2001/05/31 19:25:25 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -295,7 +295,7 @@ OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits, osmesa->gl_visual->depthBits > 0, osmesa->gl_visual->stencilBits > 0, osmesa->gl_visual->accumRedBits > 0, - osmesa->gl_visual->alphaBits > 0 ); + swalpha ); if (!osmesa->gl_buffer) { _mesa_destroy_visual( osmesa->gl_visual );