From: Brian Paul Date: Mon, 20 Jan 2003 15:20:27 +0000 (+0000) Subject: use COPY_CHAN4 macro X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a12d12d1190f1baecdedc74a0ff1b62d22615dab;p=mesa.git use COPY_CHAN4 macro --- diff --git a/src/mesa/swrast/s_aatriangle.c b/src/mesa/swrast/s_aatriangle.c index 6c304fd90f4..95cab18a17b 100644 --- a/src/mesa/swrast/s_aatriangle.c +++ b/src/mesa/swrast/s_aatriangle.c @@ -1,10 +1,10 @@ -/* $Id: s_aatriangle.c,v 1.26 2002/10/24 23:57:24 brianp Exp $ */ +/* $Id: s_aatriangle.c,v 1.27 2003/01/20 15:20:27 brianp Exp $ */ /* * Mesa 3-D graphics library - * Version: 4.1 + * Version: 5.1 * - * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2003 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -31,6 +31,7 @@ #include "glheader.h" +#include "colormac.h" #include "macros.h" #include "imports.h" #include "mmath.h" diff --git a/src/mesa/swrast/s_aatritemp.h b/src/mesa/swrast/s_aatritemp.h index a351d0bfeac..4b3d1a092d7 100644 --- a/src/mesa/swrast/s_aatritemp.h +++ b/src/mesa/swrast/s_aatritemp.h @@ -1,4 +1,4 @@ -/* $Id: s_aatritemp.h,v 1.32 2003/01/20 00:25:17 brianp Exp $ */ +/* $Id: s_aatritemp.h,v 1.33 2003/01/20 15:20:27 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -464,10 +464,10 @@ GLint j; for (j = 0; j < (GLint) n; j++) { #ifdef DO_RGBA - COPY_4V(array->rgba[j], array->rgba[j + left]); + COPY_CHAN4(array->rgba[j], array->rgba[j + left]); #endif #ifdef DO_SPEC - COPY_4V(array->spec[j], array->spec[j + left]); + COPY_CHAN4(array->spec[j], array->spec[j + left]); #endif #ifdef DO_INDEX array->index[j] = array->index[j + left];