From: Alan Hourihane Date: Tue, 26 Jul 2005 21:53:16 +0000 (+0000) Subject: Bump the required ddx to 1.4.0 as drmAddress has been removed so that 32/64bit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13613986004fcd43e8079b23d8128c2d572bca76;p=mesa.git Bump the required ddx to 1.4.0 as drmAddress has been removed so that 32/64bit combinations work. --- diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c index 71a8aeba1e8..7c1bb67f91d 100644 --- a/src/mesa/drivers/dri/i915/intel_screen.c +++ b/src/mesa/drivers/dri/i915/intel_screen.c @@ -424,9 +424,17 @@ intelFillInModes( unsigned pixel_bits, unsigned depth_bits, fprintf( stderr, "[%s:%u] Error creating FBConfig!\n", __func__, __LINE__ ); return NULL; - } - - /* There's no direct color modes on intel? */ + } +#if 0 + if ( ! driFillInModes( & m, fb_format, fb_type, + depth_bits_array, stencil_bits_array, depth_buffer_factor, + back_buffer_modes, back_buffer_factor, + GLX_DIRECT_COLOR ) ) { + fprintf( stderr, "[%s:%u] Error creating FBConfig!\n", + __func__, __LINE__ ); + return NULL; + } +#endif /* Mark the visual as slow if there are "fake" stencil bits. */ @@ -464,7 +472,7 @@ void * __driCreateNewScreen_20050725( __DRInativeDisplay *dpy, int scrn, __DRIsc { __DRIscreenPrivate *psp; - static const __DRIversion ddx_expected = { 1, 0, 0 }; + static const __DRIversion ddx_expected = { 1, 4, 0 }; static const __DRIversion dri_expected = { 4, 0, 0 }; static const __DRIversion drm_expected = { 1, 1, 0 };