fixed s/w alpha channel bug
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 31 May 2001 19:25:25 +0000 (19:25 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 31 May 2001 19:25:25 +0000 (19:25 +0000)
src/mesa/drivers/osmesa/osmesa.c

index c046b18822f203f32fd6cc02cec2543bce3ac039..450b635e0eac7b0053ad7707c0cc3687b9dc43c9 100644 (file)
@@ -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 );