summaryrefslogtreecommitdiff
path: root/GL
diff options
context:
space:
mode:
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;
+ }
}
}
}