summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2004-03-15 23:26:49 +0000
committerDave Airlie <airliedfreedesktop.org>2004-03-15 23:26:49 +0000
commit35de80d0cb9889e2557373e8896ab4062f593803 (patch)
treea26c2bc65a46d1c3e2451cf2cd3d22e99ed6c09a /src/mesa/drivers/dri
parentc5fb1b79226a52864e8b29a10e9641226b049fdc (diff)
extend SOLO code so the DDX version isn't checked
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/common/utils.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/common/utils.c b/src/mesa/drivers/dri/common/utils.c
index 4276854224..81429c167e 100644
--- a/src/mesa/drivers/dri/common/utils.c
+++ b/src/mesa/drivers/dri/common/utils.c
@@ -164,17 +164,17 @@ driCheckDriDdxDrmVersions(__DRIscreenPrivate *sPriv,
return GL_FALSE;
}
}
-#else
- (void)major;(void)minor;(void)patch;
-#endif
-
+
/* Check that the DDX driver version is compatible */
if (sPriv->ddxMajor != ddx_major || sPriv->ddxMinor < ddx_minor) {
__driUtilMessage(format, "DDX", driver_name, ddx_major, ddx_minor,
sPriv->ddxMajor, sPriv->ddxMinor, sPriv->ddxPatch);
return GL_FALSE;
}
-
+#else
+ (void)major;(void)minor;(void)patch;
+#endif
+
/* Check that the DRM driver version is compatible */
if (sPriv->drmMajor != drm_major || sPriv->drmMinor < drm_minor) {
__driUtilMessage(format, "DRM", driver_name, drm_major, drm_minor,