use COPY_CHAN4 macro
This commit is contained in:
@@ -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
|
* 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
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
@@ -31,6 +31,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "glheader.h"
|
||||||
|
#include "colormac.h"
|
||||||
#include "macros.h"
|
#include "macros.h"
|
||||||
#include "imports.h"
|
#include "imports.h"
|
||||||
#include "mmath.h"
|
#include "mmath.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
|
* Mesa 3-D graphics library
|
||||||
@@ -464,10 +464,10 @@
|
|||||||
GLint j;
|
GLint j;
|
||||||
for (j = 0; j < (GLint) n; j++) {
|
for (j = 0; j < (GLint) n; j++) {
|
||||||
#ifdef DO_RGBA
|
#ifdef DO_RGBA
|
||||||
COPY_4V(array->rgba[j], array->rgba[j + left]);
|
COPY_CHAN4(array->rgba[j], array->rgba[j + left]);
|
||||||
#endif
|
#endif
|
||||||
#ifdef DO_SPEC
|
#ifdef DO_SPEC
|
||||||
COPY_4V(array->spec[j], array->spec[j + left]);
|
COPY_CHAN4(array->spec[j], array->spec[j + left]);
|
||||||
#endif
|
#endif
|
||||||
#ifdef DO_INDEX
|
#ifdef DO_INDEX
|
||||||
array->index[j] = array->index[j + left];
|
array->index[j] = array->index[j + left];
|
||||||
|
Reference in New Issue
Block a user