Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 103 of file rbadaptors.c.
Referenced by _mesa_new_renderbuffer_16wrap8().
{ GLubyte values8[MAX_WIDTH * 4]; GLushort *values16 = (GLushort *) values; GLuint i; ASSERT(rb->DataType == GL_UNSIGNED_SHORT); ASSERT(rb->Wrapped->DataType == GL_UNSIGNED_BYTE); rb->Wrapped->GetValues(ctx, rb->Wrapped, count, x, y, values8); for (i = 0; i < 4 * count; i++) { values16[i] = (values8[i] << 8) | values8[i]; } }