From 46cd8361eb59c856f9461edcc1c578b7ea95e300 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Tue, 23 Oct 2007 19:44:53 +0000
Subject: [PATCH] Remove another useless VideoDriverName() call.

---
 src/conio/sdl_con.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/conio/sdl_con.c b/src/conio/sdl_con.c
index f4f128e20a..ecb786fda2 100644
--- a/src/conio/sdl_con.c
+++ b/src/conio/sdl_con.c
@@ -1207,13 +1207,6 @@ void setup_surfaces(void)
 		win=sdl.SetVideoMode(char_width,char_height,8,flags);
 
 	if(win!=NULL) {
-#if (defined(__MACH__) && defined(__APPLE__))
-		char	driver[16];
-		if(sdl.VideoDriverName(driver, sizeof(driver))!=NULL) {
-			if(!strcmp(driver,"Quartz"))
-				sdl_using_quartz=TRUE;
-		}
-#endif
 		if(new_rect)
 			sdl.FreeSurface(new_rect);
 		new_rect=NULL;
-- 
GitLab