diff options
-rw-r--r-- | src/glx/x11/dri_glx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/x11/dri_glx.c b/src/glx/x11/dri_glx.c index 2e3ab06dce0..514c082f6cd 100644 --- a/src/glx/x11/dri_glx.c +++ b/src/glx/x11/dri_glx.c @@ -818,7 +818,7 @@ static __GLXDRIscreen *driCreateScreen(__GLXscreenConfigs *psc, int screen, psc->driver = driGetDriver(priv->dpy, screen); createNewScreen = dlsym(psc->driver, createNewScreenName); - if (createNewScreenName == NULL) + if (createNewScreen == NULL) return NULL; pdp = (__GLXDRIdisplayPrivate *) priv->driDisplay; |