Search
lxdream.org :: lxdream/src/main.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/main.c
changeset 1134:f502f3d32f90
prev1129:7b16bbd6209c
next1179:af1c5d7d5a5a
author nkeynes
date Fri Oct 22 20:55:32 2010 +1000 (11 years ago)
permissions -rw-r--r--
last change Dump more information with --gl-info, and print it a little more nicely
file annotate diff log raw
1.1 --- a/src/main.c Fri Sep 17 20:05:34 2010 +1000
1.2 +++ b/src/main.c Fri Oct 22 20:55:32 2010 +1000
1.3 @@ -254,6 +254,9 @@
1.4 ERROR( "Video driver '%s' failed to initialize (could not connect to display?)",
1.5 display_driver->name );
1.6 exit(2);
1.7 + } else if( display_driver->capabilities.has_gl == FALSE ) {
1.8 + ERROR( "Video driver '%s' has no GL capabilities.", display_driver_name );
1.9 + exit(2);
1.10 }
1.11 glPrintInfo(stdout);
1.12 exit(0);
.