fix legacy DRI
authorAlan Hourihane <alanh@tungstengraphics.com>
Wed, 11 Jun 2008 14:35:12 +0000 (15:35 +0100)
committerAlan Hourihane <alanh@tungstengraphics.com>
Wed, 11 Jun 2008 14:35:12 +0000 (15:35 +0100)
src/gallium/winsys/dri/intel/intel_screen.c

index a36c9407d4bdd56752448449a736e4f826c66997..e456c28d0d79c04f5cc59b0b0540a7f2558e2605 100644 (file)
@@ -339,6 +339,8 @@ intelInitDriver(__DRIscreenPrivate * sPriv)
 
    intelScreen->deviceID = gDRIPriv->deviceID;
 
+   intelScreen->front.cpp = gDRIPriv->cpp;
+   intelScreen->drmMinor = sPriv->drm_version.minor;
    intelUpdateScreenRotation(sPriv, intelScreen->sarea);
 
    if (0)