iOS/buildlibs/armv7/allegro-4.4.2/addons/allegrogl/src/amesa/amesa.c
/* Extend the software rasterizer with our line and triangle
 * functions.
 */
Extend the software rasterizer with our line and triangle
functions.
Extend the software rasterizer with our line and triangle functions .
static void AMesaRegisterSwrastFunctions( GLcontext *ctx )
{
   SWcontext *swrast = SWRAST_CONTEXT( ctx );
   swrast->choose_line = AMesaChooseLine;
   swrast->choose_triangle = AMesaChooseTriangle;
   swrast->invalidate_line |= AMESA_NEW_LINE;
   swrast->invalidate_triangle |= AMESA_NEW_TRIANGLE;
}
static void AMesaRegisterSwrastFunctions ( GLcontext * ctx ) { SWcontext * swrast = SWRAST_CONTEXT ( ctx ) ; swrast -> choose_line = AMesaChooseLine ; swrast -> choose_triangle = AMesaChooseTriangle ; swrast -> invalidate_line |= AMESA_NEW_LINE ; swrast -> invalidate_triangle |= AMESA_NEW_TRIANGLE ; }
Extend the software rasterizer with our line and triangle
 functions.
Extend the software rasterizer with our line and triangle functions .