support GLX_DIRECT_COLOR in 1.4.0
authorAlan Hourihane <alanh@tungstengraphics.com>
Tue, 26 Jul 2005 23:06:10 +0000 (23:06 +0000)
committerAlan Hourihane <alanh@tungstengraphics.com>
Tue, 26 Jul 2005 23:06:10 +0000 (23:06 +0000)
src/mesa/drivers/dri/i915/intel_screen.c

index 7c1bb67f91d9069b8c66f6ef8770fcce90b420cb..49423e2302110b5f8373e66ed9914e040ad976c2 100644 (file)
@@ -425,7 +425,6 @@ intelFillInModes( unsigned pixel_bits, unsigned depth_bits,
                 __func__, __LINE__ );
        return NULL;
    }
-#if 0
    if ( ! driFillInModes( & m, fb_format, fb_type,
                          depth_bits_array, stencil_bits_array, depth_buffer_factor,
                          back_buffer_modes, back_buffer_factor,
@@ -434,7 +433,6 @@ intelFillInModes( unsigned pixel_bits, unsigned depth_bits,
                 __func__, __LINE__ );
        return NULL;
    }
-#endif
 
    /* Mark the visual as slow if there are "fake" stencil bits.
     */
@@ -472,7 +470,7 @@ void * __driCreateNewScreen_20050725( __DRInativeDisplay *dpy, int scrn, __DRIsc
                             
 {
    __DRIscreenPrivate *psp;
-   static const __DRIversion ddx_expected = { 1, 4, 0 };
+   static const __DRIversion ddx_expected = { 1, 0, 0 };
    static const __DRIversion dri_expected = { 4, 0, 0 };
    static const __DRIversion drm_expected = { 1, 1, 0 };