From: Dave Airlie Date: Mon, 15 Mar 2004 23:26:49 +0000 (+0000) Subject: extend SOLO code so the DDX version isn't checked X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35de80d0cb9889e2557373e8896ab4062f593803;p=mesa.git extend SOLO code so the DDX version isn't checked --- diff --git a/src/mesa/drivers/dri/common/utils.c b/src/mesa/drivers/dri/common/utils.c index 4276854224d..81429c167e3 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,