diff options
author | Brian Paul <[email protected]> | 2005-09-01 03:07:29 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-09-01 03:07:29 +0000 |
commit | 5545245fe794519db577b2e8208277cd8fc7d276 (patch) | |
tree | 56a8bf2f69323091d5940a0a416735a4d4aac07a /src/mesa/drivers/dri/common/drirenderbuffer.c | |
parent | db84ec2c6ddb197409e7d7288308d030fd4649eb (diff) |
added a few more fields to help with DRI drivers
Diffstat (limited to 'src/mesa/drivers/dri/common/drirenderbuffer.c')
-rw-r--r-- | src/mesa/drivers/dri/common/drirenderbuffer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/drirenderbuffer.c b/src/mesa/drivers/dri/common/drirenderbuffer.c index 44826958d02..201ce449502 100644 --- a/src/mesa/drivers/dri/common/drirenderbuffer.c +++ b/src/mesa/drivers/dri/common/drirenderbuffer.c @@ -93,6 +93,10 @@ driNewRenderbuffer(GLenum format, GLint cpp, GLint offset, GLint pitch) drb->offset = offset; drb->pitch = pitch; drb->cpp = cpp; + + /* may be changed if page flipping is active: */ + drb->flippedOffset = offset; + drb->flippedPitch = pitch; } return drb; } |