nouveau: ddx versioning changed to match nouveau.ko versioning
authorBen Skeggs <skeggsb@gmail.com>
Mon, 28 Jan 2008 07:40:11 +0000 (18:40 +1100)
committerBen Skeggs <skeggsb@gmail.com>
Mon, 28 Jan 2008 07:40:11 +0000 (18:40 +1100)
src/mesa/drivers/dri/nouveau_winsys/nouveau_screen.c

index c58af22c98cf1037f5fd79bdceddc95e5726bd4b..f06e1784831e88399946c9e3e8a5dc0d15b8df65 100644 (file)
@@ -264,7 +264,8 @@ __driCreateNewScreen_20050727(__DRInativeDisplay *dpy, int scrn,
                              __GLcontextModes ** driver_modes)
 {
        __DRIscreenPrivate *psp;
-       static const __DRIversion ddx_expected = { 1, 2, 0 };
+       static const __DRIversion ddx_expected =
+               { 0, 0, NOUVEAU_DRM_HEADER_PATCHLEVEL };
        static const __DRIversion dri_expected = { 4, 0, 0 };
        static const __DRIversion drm_expected =
                { 0, 0, NOUVEAU_DRM_HEADER_PATCHLEVEL };