changeset 17160:ecdffaf7118c

Do not exit() if /dev/3dfx is not available, approved by Ivan.
author diego
date Sat, 10 Dec 2005 21:00:48 +0000
parents e95eb94cd110
children 4dbe8679f3e1
files libvo/vo_3dfx.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_3dfx.c	Sat Dec 10 20:28:11 2005 +0000
+++ b/libvo/vo_3dfx.c	Sat Dec 10 21:00:48 2005 +0000
@@ -331,7 +331,7 @@
 	if ( (fd = open("/dev/3dfx",O_RDWR) ) == -1) 
 	{
 		printf("Couldn't open /dev/3dfx\n");
-		exit(1);
+		return -1;
 	}
 
 	// Store sizes for later