projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e80a288
)
Test createNewScreen for NULL, not createNewScreenName in driCreateScreen().
author
Kristian Høgsberg
<krh@redhat.com>
Sat, 15 Mar 2008 18:06:42 +0000
(14:06 -0400)
committer
Kristian Høgsberg
<krh@redhat.com>
Sat, 15 Mar 2008 18:06:42 +0000
(14:06 -0400)
src/glx/x11/dri_glx.c
patch
|
blob
|
history
diff --git
a/src/glx/x11/dri_glx.c
b/src/glx/x11/dri_glx.c
index 2e3ab06dce0e96539af63a4add1f1c3036f375e6..514c082f6cd1398d2fae284e7c2dc9124f7c64e7 100644
(file)
--- 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 (createNewScreen
Name
== NULL)
+ if (createNewScreen == NULL)
return NULL;
pdp = (__GLXDRIdisplayPrivate *) priv->driDisplay;