diff options
author | Kyle Brenneman <kbrenneman@nvidia.com> | 2016-03-14 13:55:16 -0600 |
---|---|---|
committer | Kyle Brenneman <kbrenneman@nvidia.com> | 2016-03-14 13:55:16 -0600 |
commit | 4ecdb3dd8cc2cf9d3316a1d6c0abdeb7a4f75a9e (patch) | |
tree | c15a9a8100b532d9ef6066c238ee49ffa790f620 | |
parent | 3a84276f63242f8f231b4772448d025c1ae41cc1 (diff) |
Fix an uninitialized variable in glXGetFBConfigs.
-rw-r--r-- | src/GLX/libglx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GLX/libglx.c b/src/GLX/libglx.c index c61c17a..f983a15 100644 --- a/src/GLX/libglx.c +++ b/src/GLX/libglx.c @@ -1580,7 +1580,7 @@ PUBLIC GLXFBConfig *glXGetFBConfigs(Display *dpy, int screen, int *nelements) GLXFBConfig *fbconfigs = vendor->staticDispatch.getFBConfigs(dpy, screen, nelements); if (fbconfigs != NULL) { int i; - Bool success; + Bool success = True; for (i = 0; i < *nelements; i++) { if (__glXAddVendorFBConfigMapping(dpy, fbconfigs[i], vendor) != 0) { success = False; |