use screen->front.map instead of pFB from libdri
authorAlan Hourihane <alanh@tungstengraphics.com>
Tue, 24 Jan 2006 19:28:49 +0000 (19:28 +0000)
committerAlan Hourihane <alanh@tungstengraphics.com>
Tue, 24 Jan 2006 19:28:49 +0000 (19:28 +0000)
src/mesa/drivers/dri/i915/intel_screen.c

index 752379c..8f35405 100644 (file)
@@ -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);