X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fswrast%2Fs_alpha.c;h=55c1e6a58f8621cfa55c4a76634c8798e48ffef2;hb=db79b5683cfc3f2ea3f9b0aca8c4d149bf9a63f7;hp=35ec7e9dcce91939b34188aeab99584549b81d72;hpb=27558a160a9fe91745728d7626995cd88f8fe339;p=mesa.git diff --git a/src/mesa/swrast/s_alpha.c b/src/mesa/swrast/s_alpha.c index 35ec7e9dcce..55c1e6a58f8 100644 --- a/src/mesa/swrast/s_alpha.c +++ b/src/mesa/swrast/s_alpha.c @@ -1,4 +1,3 @@ -/* $Id: s_alpha.c,v 1.13 2003/03/01 01:50:25 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -39,14 +38,14 @@ /** - * \fn GLint _mesa_alpha_test( const GLcontext *ctx, struct sw_span *span ) + * \fn GLint _swrast_alpha_test( const GLcontext *ctx, struct sw_span *span ) * \brief Apply the alpha test to a span of pixels. * \return * - "0" = all pixels in the span failed the alpha test. * - "1" = one or more pixels passed the alpha test. */ GLint -_mesa_alpha_test( const GLcontext *ctx, struct sw_span *span ) +_swrast_alpha_test( const GLcontext *ctx, struct sw_span *span ) { const GLchan (*rgba)[4] = (const GLchan (*)[4]) span->array->rgba; GLchan ref; @@ -91,7 +90,7 @@ _mesa_alpha_test( const GLcontext *ctx, struct sw_span *span ) span->writeAll = GL_FALSE; return 0; default: - _mesa_problem( ctx, "Invalid alpha test in _mesa_alpha_test" ); + _mesa_problem( ctx, "Invalid alpha test in _swrast_alpha_test" ); return 0; } }