summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-05-14 16:27:10 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-05-14 16:27:10 +0000
commitd77a165eacc44a7c644b1fe26064d62cba440e70 (patch)
tree0eabbcf00f195d1b7f05299b36b87de74fd33fec /src
parented875a4cb3cf194637d696b2660b98fdc3b95b0f (diff)
s/GLbyte/GLubyte/
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/renderbuffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/renderbuffer.c b/src/mesa/main/renderbuffer.c
index 4b15634a6c..d043237e53 100644
--- a/src/mesa/main/renderbuffer.c
+++ b/src/mesa/main/renderbuffer.c
@@ -624,10 +624,10 @@ static void
get_row_ubyte4(GLcontext *ctx, struct gl_renderbuffer *rb, GLuint count,
GLint x, GLint y, void *values)
{
- const GLbyte *src = (const GLbyte *) rb->Data + 4 * (y * rb->Width + x);
+ const GLubyte *src = (const GLubyte *) rb->Data + 4 * (y * rb->Width + x);
ASSERT(rb->DataType == GL_UNSIGNED_BYTE);
ASSERT(rb->_ActualFormat == GL_RGBA8);
- _mesa_memcpy(values, src, 4 * count * sizeof(GLbyte));
+ _mesa_memcpy(values, src, 4 * count * sizeof(GLubyte));
}