diff options
author | Alan Hourihane <alanh@tungstengraphics.com> | 2007-10-16 19:55:56 +0100 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2007-10-16 19:55:56 +0100 |
commit | 9dde53ed179336c7b483c9a94a97182ad1777dfb (patch) | |
tree | 4daebd03f604559fa728c0adc7fe43582dc5f4ed | |
parent | 70a5d33c9e41c077a8cd92abd43376e2956d3aed (diff) |
Fix walking of GLX providers.
-rw-r--r-- | GL/glx/glxext.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/GL/glx/glxext.c b/GL/glx/glxext.c index 94ec5cc7d..4d6bfd7c6 100644 --- a/GL/glx/glxext.c +++ b/GL/glx/glxext.c @@ -317,11 +317,12 @@ void GlxExtensionInit(void) pScreen = screenInfo.screens[i]; for (p = __glXProviderStack; p != NULL; p = p->next) { - if (p->screenProbe(pScreen) != NULL) + if (p->screenProbe(pScreen) != NULL) { LogMessage(X_INFO, "GLX: Initialized %s GL provider for screen %d\n", p->name, i); - break; + break; + } } } } |