diff options
author | Kristian Høgsberg <[email protected]> | 2007-11-06 11:56:24 -0500 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2007-11-06 13:32:33 -0500 |
commit | 866d271aa848d33dfded4989c48ba46108d6cceb (patch) | |
tree | a2efeb7d0f3d542bc5a65146f544760ad395d568 /src/glx/x11/glxext.c | |
parent | badc061a65b8e8b3d92eb4a45bd9eb4191eaaf62 (diff) |
Don't return 0 in a void function.
Diffstat (limited to 'src/glx/x11/glxext.c')
-rw-r--r-- | src/glx/x11/glxext.c | 4 |
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 |