move _mesa_load_state_parameters() to state validation stage
[mesa.git] / src / mesa / swrast / s_alpha.c
index 35ec7e9dcce91939b34188aeab99584549b81d72..55c1e6a58f8621cfa55c4a76634c8798e48ffef2 100644 (file)
@@ -1,4 +1,3 @@
-/* $Id: s_alpha.c,v 1.13 2003/03/01 01:50:25 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
 
 
 /**
- * \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;
       }
    }