summaryrefslogtreecommitdiff
path: root/GL
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2007-10-16 19:55:56 +0100
committerAlan Hourihane <alanh@tungstengraphics.com>2007-10-16 19:55:56 +0100
commit9dde53ed179336c7b483c9a94a97182ad1777dfb (patch)
tree4daebd03f604559fa728c0adc7fe43582dc5f4ed /GL
parent70a5d33c9e41c077a8cd92abd43376e2956d3aed (diff)
Fix walking of GLX providers.
Diffstat (limited to 'GL')
-rw-r--r--GL/glx/glxext.c5
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;
+ }
}
}
}