From e54e2cd8d512dce451969989bcfb3017e660b38e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Strohh=C3=A4cker?= Date: Tue, 1 May 2007 20:00:45 +0000 Subject: [PATCH] set variables correctly for some fallback code Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2849 --- src/gui/sdlmain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp index 870a11fe..bb0b7ead 100644 --- a/src/gui/sdlmain.cpp +++ b/src/gui/sdlmain.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: sdlmain.cpp,v 1.128 2007-04-15 10:34:02 c2woody Exp $ */ +/* $Id: sdlmain.cpp,v 1.129 2007-05-01 20:00:45 c2woody Exp $ */ #ifndef _GNU_SOURCE #define _GNU_SOURCE @@ -441,7 +441,7 @@ dosurface: } else { LOG_MSG("Failed to create hardware surface.\nRestarting video subsystem with directx enabled."); putenv("SDL_VIDEODRIVER=directx"); - sdl.using_windib=true; + sdl.using_windib=false; } SDL_InitSubSystem(SDL_INIT_VIDEO); sdl.surface = SDL_SetVideoMode(width,height,bpp,SDL_HWSURFACE);