From: Brian Paul Date: Sun, 14 May 2006 16:27:10 +0000 (+0000) Subject: s/GLbyte/GLubyte/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d77a165eacc44a7c644b1fe26064d62cba440e70;p=mesa.git s/GLbyte/GLubyte/ --- 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)); }