summaryrefslogtreecommitdiff
path: root/sdl.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-12-23 23:15:07 +0000
committerdarkvater <darkvater@openttd.org>2004-12-23 23:15:07 +0000
commitd7bc1d776c4f776846d3d2b97a905d85734b1937 (patch)
treed06140858079766ee57561cfa11935ab02bd272e /sdl.c
parent1e8cfa10bfadb7902a526f282526168153f8f287 (diff)
downloadopenttd-d7bc1d776c4f776846d3d2b97a905d85734b1937.tar.xz
(svn r1268) -Fix: some warnings in gfx.c fixed
-Fix: Makefile now correctly works for cygwin/mingw; altough defining only cygwin does not compile the game -Fix: moved SDL information message from severity 0 to 1. Only errors/severe warnings should be level 0
Diffstat (limited to 'sdl.c')
-rw-r--r--sdl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdl.c b/sdl.c
index 88940d091..1fabe2666 100644
--- a/sdl.c
+++ b/sdl.c
@@ -325,7 +325,7 @@ static bool CreateMainSurface(int w, int h)
GetAvailableVideoMode(&w, &h);
- DEBUG(misc, 0) ("sdl: using mode %dx%d", w, h);
+ DEBUG(misc, 1) ("sdl: using mode %dx%d", w, h);
// DO NOT CHANGE TO HWSURFACE, IT DOES NOT WORK
newscreen = SDL_CALL SDL_SetVideoMode(w, h, 8, SDL_SWSURFACE | SDL_HWPALETTE | (_fullscreen ? SDL_FULLSCREEN : SDL_RESIZABLE));
@@ -542,7 +542,7 @@ static const char *SdlVideoStart(char **parm)
if (s != NULL) return s;
SDL_CALL SDL_VideoDriverName(buf, 30);
- DEBUG(misc, 0) ("sdl: using driver '%s'", buf);
+ DEBUG(misc, 1) ("sdl: using driver '%s'", buf);
GetVideoModes();
CreateMainSurface(_cur_resolution[0], _cur_resolution[1]);