From 3f95f7c730cc78c7acd0d96ebdbd5a5e504a6018 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Tue, 23 Oct 2007 00:21:41 +0000
Subject: [PATCH] Make overlays the default output mode for OS X only.

---
 src/conio/ciolib.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/conio/ciolib.c b/src/conio/ciolib.c
index 0328f4cfb0..2685b5489a 100644
--- a/src/conio/ciolib.c
+++ b/src/conio/ciolib.c
@@ -285,7 +285,10 @@ CIOLIBEXPORT int CIOLIBCALL initciolib(int mode)
 	switch(mode) {
 		case CIOLIB_MODE_AUTO:
 #if defined(WITH_SDL) || defined(WITH_SDL_AUDIO)
-			if(!try_sdl_init(mode))
+#if (defined(__MACH__) && defined(__APPLE__))
+			if(!try_sdl_init(CIOLIB_MODE_SDL_YUV))
+#endif
+			if(!try_sdl_init(CIOLIB_MODE_SDL))
 #endif
 #ifdef _WIN32
 				if(!try_conio_init(mode))
-- 
GitLab