From 98e13fecd0cb5c13dab0ead424b0f94f318e5a0b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Sat, 15 Mar 2008 14:06:42 -0400 Subject: [PATCH] Test createNewScreen for NULL, not createNewScreenName in driCreateScreen(). --- src/glx/x11/dri_glx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2