diff options
author | Kristian Høgsberg <[email protected]> | 2008-03-15 14:06:42 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2008-03-15 14:06:42 -0400 |
commit | 98e13fecd0cb5c13dab0ead424b0f94f318e5a0b (patch) | |
tree | 9b9ad966cddc7c49c2f9c70cb9b0cba5998b3840 /src | |
parent | e80a2888bb8930b19f278700d29bc7a2d6cab5f5 (diff) |
Test createNewScreen for NULL, not createNewScreenName in driCreateScreen().
Diffstat (limited to 'src')
-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; |