renamed alpha buffer functions

This commit is contained in:
Brian Paul 2000-04-11 21:36:29 +00:00
parent 716be93686
commit 5223c4d33f
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $Id: blend.c,v 1.13 2000/02/24 22:04:03 brianp Exp $ */
/* $Id: blend.c,v 1.14 2000/04/11 21:38:08 brianp Exp $ */
/*
* Mesa 3-D graphics library
@ -826,7 +826,7 @@ _mesa_blend_pixels( GLcontext *ctx,
/* Read pixels from current color buffer */
(*ctx->Driver.ReadRGBAPixels)( ctx, n, x, y, dest, mask );
if (ctx->RasterMask & ALPHABUF_BIT) {
gl_read_alpha_pixels( ctx, n, x, y, dest, mask );
_mesa_read_alpha_pixels( ctx, n, x, y, dest, mask );
}
if (!ctx->Color.BlendFunc)

View File

@ -1,4 +1,4 @@
/* $Id: buffers.c,v 1.5 2000/04/11 21:26:57 brianp Exp $ */
/* $Id: buffers.c,v 1.6 2000/04/11 21:36:29 brianp Exp $ */
/*
* Mesa 3-D graphics library
@ -300,7 +300,7 @@ _mesa_Clear( GLbitfield mask )
/* clear software-based alpha buffer(s) */
if ( (mask & GL_COLOR_BUFFER_BIT) && ctx->Visual->SoftwareAlpha
&& ctx->Color.ColorMask[RCOMP]) {
gl_clear_alpha_buffers( ctx );
_mesa_clear_alpha_buffers( ctx );
}
#ifdef PROFILE
@ -559,6 +559,6 @@ _mesa_ResizeBuffersMESA( void )
_mesa_alloc_accum_buffer( ctx );
}
if (ctx->Visual->SoftwareAlpha) {
gl_alloc_alpha_buffers( ctx );
_mesa_alloc_alpha_buffers( ctx );
}
}