diff options
author | Jon Smirl <[email protected]> | 2005-07-29 00:19:36 +0000 |
---|---|---|
committer | Jon Smirl <[email protected]> | 2005-07-29 00:19:36 +0000 |
commit | df68d11b47ffda570b77de6a11bf1afc311f86b2 (patch) | |
tree | beb05b4dcc1fc7daae3928dee1ac0e93ee5c44a4 | |
parent | 82e3ecf413704440ea64b3b582d68f82f7b83704 (diff) |
Fix a == vs !- typo for glx_enable_extension
-rw-r--r-- | src/mesa/drivers/dri/i830/i830_screen.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_screen.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/mach64/mach64_screen.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/mga/mga_xmesa.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r128/r128_screen.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_screen.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r300/radeon_screen.c | 4 | ||||
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_screen.c | 2 |
8 files changed, 9 insertions, 9 deletions
diff --git a/src/mesa/drivers/dri/i830/i830_screen.c b/src/mesa/drivers/dri/i830/i830_screen.c index af5049d6296..4d47f161818 100644 --- a/src/mesa/drivers/dri/i830/i830_screen.c +++ b/src/mesa/drivers/dri/i830/i830_screen.c @@ -282,7 +282,7 @@ static GLboolean i830InitDriver(__DRIscreenPrivate *sPriv) } #endif - if ( glx_enable_extension == NULL ) { + if ( glx_enable_extension != NULL ) { (*glx_enable_extension)( psc, "GLX_SGI_make_current_read" ); } diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c index f9c618e6441..6c3f2f57744 100644 --- a/src/mesa/drivers/dri/i915/intel_screen.c +++ b/src/mesa/drivers/dri/i915/intel_screen.c @@ -195,7 +195,7 @@ static GLboolean intelInitDriver(__DRIscreenPrivate *sPriv) } } - if (glx_enable_extension == NULL) { + if (glx_enable_extension != NULL) { (*glx_enable_extension)( psc, "GLX_SGI_make_current_read" ); (*glx_enable_extension)( psc, "GLX_MESA_allocate_memory" ); } diff --git a/src/mesa/drivers/dri/mach64/mach64_screen.c b/src/mesa/drivers/dri/mach64/mach64_screen.c index e87c87c2397..0bd8d6eb77d 100644 --- a/src/mesa/drivers/dri/mach64/mach64_screen.c +++ b/src/mesa/drivers/dri/mach64/mach64_screen.c @@ -314,7 +314,7 @@ mach64CreateScreen( __DRIscreenPrivate *sPriv ) mach64Screen->driScreen = sPriv; - if ( glx_enable_extension == NULL ) { + if ( glx_enable_extension != NULL ) { if ( mach64Screen->irq != 0 ) { (*glx_enable_extension)( psc, "GLX_SGI_swap_control" ); (*glx_enable_extension)( psc, "GLX_SGI_video_sync" ); diff --git a/src/mesa/drivers/dri/mga/mga_xmesa.c b/src/mesa/drivers/dri/mga/mga_xmesa.c index cf3db99b937..1eb03ef0ec1 100644 --- a/src/mesa/drivers/dri/mga/mga_xmesa.c +++ b/src/mesa/drivers/dri/mga/mga_xmesa.c @@ -229,7 +229,7 @@ mgaInitDriver(__DRIscreenPrivate *sPriv) } } - if ( glx_enable_extension == NULL ) { + if ( glx_enable_extension != NULL ) { (*glx_enable_extension)( psc, "GLX_MESA_swap_control" ); (*glx_enable_extension)( psc, "GLX_MESA_swap_frame_usage" ); (*glx_enable_extension)( psc, "GLX_SGI_make_current_read" ); diff --git a/src/mesa/drivers/dri/r128/r128_screen.c b/src/mesa/drivers/dri/r128/r128_screen.c index c1ec8cf6219..52b9b7bcbcc 100644 --- a/src/mesa/drivers/dri/r128/r128_screen.c +++ b/src/mesa/drivers/dri/r128/r128_screen.c @@ -214,7 +214,7 @@ r128CreateScreen( __DRIscreenPrivate *sPriv ) r128Screen->driScreen = sPriv; - if ( glx_enable_extension == NULL ) { + if ( glx_enable_extension != NULL ) { if ( r128Screen->irq != 0 ) { (*glx_enable_extension)( psc, "GLX_SGI_swap_control" ); (*glx_enable_extension)( psc, "GLX_SGI_video_sync" ); diff --git a/src/mesa/drivers/dri/r200/r200_screen.c b/src/mesa/drivers/dri/r200/r200_screen.c index e68f7dae8ad..480ee64f00b 100644 --- a/src/mesa/drivers/dri/r200/r200_screen.c +++ b/src/mesa/drivers/dri/r200/r200_screen.c @@ -463,7 +463,7 @@ r200CreateScreen( __DRIscreenPrivate *sPriv ) screen->driScreen = sPriv; screen->sarea_priv_offset = dri_priv->sarea_priv_offset; - if ( glx_enable_extension == NULL ) { + if ( glx_enable_extension != NULL ) { if ( screen->irq != 0 ) { (*glx_enable_extension)( psc, "GLX_SGI_swap_control" ); (*glx_enable_extension)( psc, "GLX_SGI_video_sync" ); diff --git a/src/mesa/drivers/dri/r300/radeon_screen.c b/src/mesa/drivers/dri/r300/radeon_screen.c index 466e6b0409e..2893a9824c1 100644 --- a/src/mesa/drivers/dri/r300/radeon_screen.c +++ b/src/mesa/drivers/dri/r300/radeon_screen.c @@ -582,7 +582,7 @@ static radeonScreenPtr radeonCreateScreen(__DRIscreenPrivate * sPriv) screen->driScreen = sPriv; screen->sarea_priv_offset = dri_priv->sarea_priv_offset; - if (glx_enable_extension == NULL) { + if (glx_enable_extension != NULL) { if (screen->irq != 0) { (*glx_enable_extension) (psc, "GLX_SGI_swap_control"); (*glx_enable_extension) (psc, "GLX_SGI_video_sync"); @@ -597,7 +597,7 @@ static radeonScreenPtr radeonCreateScreen(__DRIscreenPrivate * sPriv) sPriv->psc->freeMemory = (void *)r200FreeMemoryMESA; sPriv->psc->memoryOffset = (void *)r200GetMemoryOffsetMESA; - if (glx_enable_extension == NULL) { + if (glx_enable_extension != NULL) { (*glx_enable_extension) (psc, "GLX_MESA_allocate_memory"); } #endif diff --git a/src/mesa/drivers/dri/unichrome/via_screen.c b/src/mesa/drivers/dri/unichrome/via_screen.c index b718fd446ab..924818c1242 100644 --- a/src/mesa/drivers/dri/unichrome/via_screen.c +++ b/src/mesa/drivers/dri/unichrome/via_screen.c @@ -170,7 +170,7 @@ viaInitDriver(__DRIscreenPrivate *sPriv) viaScreen->sareaPrivOffset = gDRIPriv->sarea_priv_offset; - if ( glx_enable_extension == NULL ) { + if ( glx_enable_extension != NULL ) { if ( viaScreen->irqEnabled ) { (*glx_enable_extension)( psc, "GLX_SGI_swap_control" ); (*glx_enable_extension)( psc, "GLX_SGI_video_sync" ); |