summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/unichrome
diff options
context:
space:
mode:
authorJon Smirl <[email protected]>2005-07-29 00:19:36 +0000
committerJon Smirl <[email protected]>2005-07-29 00:19:36 +0000
commitdf68d11b47ffda570b77de6a11bf1afc311f86b2 (patch)
treebeb05b4dcc1fc7daae3928dee1ac0e93ee5c44a4 /src/mesa/drivers/dri/unichrome
parent82e3ecf413704440ea64b3b582d68f82f7b83704 (diff)
Fix a == vs !- typo for glx_enable_extension
Diffstat (limited to 'src/mesa/drivers/dri/unichrome')
-rw-r--r--src/mesa/drivers/dri/unichrome/via_screen.c2
1 files changed, 1 insertions, 1 deletions
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" );