renamed alpha buffer functions
This commit is contained in:
parent
716be93686
commit
5223c4d33f
|
@ -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
|
* Mesa 3-D graphics library
|
||||||
|
@ -826,7 +826,7 @@ _mesa_blend_pixels( GLcontext *ctx,
|
||||||
/* Read pixels from current color buffer */
|
/* Read pixels from current color buffer */
|
||||||
(*ctx->Driver.ReadRGBAPixels)( ctx, n, x, y, dest, mask );
|
(*ctx->Driver.ReadRGBAPixels)( ctx, n, x, y, dest, mask );
|
||||||
if (ctx->RasterMask & ALPHABUF_BIT) {
|
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)
|
if (!ctx->Color.BlendFunc)
|
||||||
|
|
|
@ -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
|
* Mesa 3-D graphics library
|
||||||
|
@ -300,7 +300,7 @@ _mesa_Clear( GLbitfield mask )
|
||||||
/* clear software-based alpha buffer(s) */
|
/* clear software-based alpha buffer(s) */
|
||||||
if ( (mask & GL_COLOR_BUFFER_BIT) && ctx->Visual->SoftwareAlpha
|
if ( (mask & GL_COLOR_BUFFER_BIT) && ctx->Visual->SoftwareAlpha
|
||||||
&& ctx->Color.ColorMask[RCOMP]) {
|
&& ctx->Color.ColorMask[RCOMP]) {
|
||||||
gl_clear_alpha_buffers( ctx );
|
_mesa_clear_alpha_buffers( ctx );
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef PROFILE
|
#ifdef PROFILE
|
||||||
|
@ -559,6 +559,6 @@ _mesa_ResizeBuffersMESA( void )
|
||||||
_mesa_alloc_accum_buffer( ctx );
|
_mesa_alloc_accum_buffer( ctx );
|
||||||
}
|
}
|
||||||
if (ctx->Visual->SoftwareAlpha) {
|
if (ctx->Visual->SoftwareAlpha) {
|
||||||
gl_alloc_alpha_buffers( ctx );
|
_mesa_alloc_alpha_buffers( ctx );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue