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 752379c9d4ec645bc373091a0c56af7a66589062..8f354054cab88baac7dfdef2a823a03a35b65441 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);