summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2008-06-11 15:35:12 +0100
committerAlan Hourihane <[email protected]>2008-06-11 15:35:12 +0100
commitf851ba705ae878f62149afa377c755286cf53c85 (patch)
treeef636e783183cbf34d869619c5ce1eee430c4572
parent5e9fe62c7090768b82a3cc905d1da6b623304b50 (diff)
fix legacy DRI
-rw-r--r--src/gallium/winsys/dri/intel/intel_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/dri/intel/intel_screen.c b/src/gallium/winsys/dri/intel/intel_screen.c
index a36c9407d4b..e456c28d0d7 100644
--- a/src/gallium/winsys/dri/intel/intel_screen.c
+++ b/src/gallium/winsys/dri/intel/intel_screen.c
@@ -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)