summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2006-01-24 19:28:49 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2006-01-24 19:28:49 +0000
commitf7360cd42d320b39889b1d9277284ad00e2c1f3d (patch)
treef4815ceaad1e756f96c7392d594fcb97c9080444
parent39c492bb14d706ffa8bf04f78048c05de735492b (diff)
use screen->front.map instead of pFB from libdri
-rw-r--r--src/mesa/drivers/dri/i915/intel_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c
index 752379c9d4..8f354054ca 100644
--- a/src/mesa/drivers/dri/i915/intel_screen.c
+++ b/src/mesa/drivers/dri/i915/intel_screen.c
@@ -369,7 +369,7 @@ static GLboolean intelCreateBuffer( __DRIscreenPrivate *driScrnPriv,
{
driRenderbuffer *frontRb
= driNewRenderbuffer(GL_RGBA,
- driScrnPriv->pFB,
+ screen->front.map,
screen->cpp,
screen->front.offset, screen->front.pitch,
driDrawPriv);