summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-05-17 19:29:46 +0000
committerBrian Paul <[email protected]>2005-05-17 19:29:46 +0000
commit22652f952fbd3968f3d5a3db7898911508d76145 (patch)
tree2e4d886c25e73aea3d115dfd45d2da5e06c8c5a9
parentae818ed1da5ba8bbe06fe35b916a851750ef9080 (diff)
fix some BCOMP/ACOMP typos (fixes Brad King's vtk failures)
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c
index b1160c88069..8a85b5ecf7c 100644
--- a/src/mesa/drivers/osmesa/osmesa.c
+++ b/src/mesa/drivers/osmesa/osmesa.c
@@ -187,7 +187,7 @@ get_buffer_size( GLframebuffer *buffer, GLuint *width, GLuint *height )
DST[RCOMP] = SRC[0]; \
DST[GCOMP] = SRC[1]; \
DST[BCOMP] = SRC[2]; \
- DST[BCOMP] = SRC[3]
+ DST[ACOMP] = SRC[3]
#include "swrast/s_spantemp.h"
/* BGRA */
@@ -212,7 +212,7 @@ get_buffer_size( GLframebuffer *buffer, GLuint *width, GLuint *height )
DST[RCOMP] = SRC[2]; \
DST[GCOMP] = SRC[1]; \
DST[BCOMP] = SRC[0]; \
- DST[BCOMP] = SRC[3]
+ DST[ACOMP] = SRC[3]
#include "swrast/s_spantemp.h"
/* ARGB */
@@ -237,7 +237,7 @@ get_buffer_size( GLframebuffer *buffer, GLuint *width, GLuint *height )
DST[RCOMP] = SRC[1]; \
DST[GCOMP] = SRC[2]; \
DST[BCOMP] = SRC[3]; \
- DST[BCOMP] = SRC[0]
+ DST[ACOMP] = SRC[0]
#include "swrast/s_spantemp.h"
/* RGB */
@@ -256,7 +256,7 @@ get_buffer_size( GLframebuffer *buffer, GLuint *width, GLuint *height )
DST[RCOMP] = SRC[0]; \
DST[GCOMP] = SRC[1]; \
DST[BCOMP] = SRC[2]; \
- DST[BCOMP] = CHAN_MAX
+ DST[ACOMP] = CHAN_MAX
#include "swrast/s_spantemp.h"
/* BGR */
@@ -275,7 +275,7 @@ get_buffer_size( GLframebuffer *buffer, GLuint *width, GLuint *height )
DST[RCOMP] = SRC[2]; \
DST[GCOMP] = SRC[1]; \
DST[BCOMP] = SRC[0]; \
- DST[BCOMP] = CHAN_MAX
+ DST[ACOMP] = CHAN_MAX
#include "swrast/s_spantemp.h"
/* 16-bit BGR */