summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2006-01-24 19:28:49 +0000
committerAlan Hourihane <[email protected]>2006-01-24 19:28:49 +0000
commitf7360cd42d320b39889b1d9277284ad00e2c1f3d (patch)
treef4815ceaad1e756f96c7392d594fcb97c9080444 /src
parent39c492bb14d706ffa8bf04f78048c05de735492b (diff)
use screen->front.map instead of pFB from libdri
Diffstat (limited to 'src')
-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 752379c9d4e..8f354054cab 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);