mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
s/GLbyte/GLubyte/
This commit is contained in:
parent
ed875a4cb3
commit
d77a165eac
1 changed files with 2 additions and 2 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue