From d77a165eacc44a7c644b1fe26064d62cba440e70 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 14 May 2006 16:27:10 +0000 Subject: [PATCH] s/GLbyte/GLubyte/ --- src/mesa/main/renderbuffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/renderbuffer.c b/src/mesa/main/renderbuffer.c index 4b15634a6c8..d043237e539 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)); } -- 2.30.2