From 22652f952fbd3968f3d5a3db7898911508d76145 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 17 May 2005 19:29:46 +0000 Subject: [PATCH] fix some BCOMP/ACOMP typos (fixes Brad King's vtk failures) --- src/mesa/drivers/osmesa/osmesa.c | 10 +++++----- 1 file 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 */ -- 2.30.2