mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
Import Brian's FBO bugfix from trunk.
This commit is contained in:
parent
2f54146c1f
commit
607c474f2d
1 changed files with 2 additions and 0 deletions
|
|
@ -276,6 +276,8 @@ _mesa_PushAttrib(GLbitfield mask)
|
|||
struct gl_pixel_attrib *attr;
|
||||
attr = MALLOC_STRUCT( gl_pixel_attrib );
|
||||
MEMCPY( attr, &ctx->Pixel, sizeof(struct gl_pixel_attrib) );
|
||||
/* push the Read FBO's ReadBuffer state, not ctx->Pixel.ReadBuffer */
|
||||
attr->ReadBuffer = ctx->ReadBuffer->ColorReadBuffer;
|
||||
newnode = new_attrib_node( GL_PIXEL_MODE_BIT );
|
||||
newnode->data = attr;
|
||||
newnode->next = head;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue