summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/glxext.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/x11/glxext.c')
-rw-r--r--src/glx/x11/glxext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c
index 3572a70a100..e65b7f2043f 100644
--- a/src/glx/x11/glxext.c
+++ b/src/glx/x11/glxext.c
@@ -643,9 +643,9 @@ filter_modes( __GLcontextModes ** server_modes,
__GLcontextModes ** prev_next;
const __GLcontextModes * check;
- if ( driver_modes == NULL ) {
+ if (driver_modes == NULL) {
fprintf(stderr, "libGL warning: 3D driver returned no fbconfigs.\n");
- return 0;
+ return;
}
/* For each mode in server_modes, check to see if a matching mode exists