CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: David White <[EMAIL PROTECTED]> 05/06/04 20:01:48
Modified files:
src : video.cpp
Log message:
fixed incorrect setting of video mode bits per pixel (CVS internal)
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/video.cpp.diff?tr1=1.67&tr2=1.68&r1=text&r2=text
Patches:
Index: wesnoth/src/video.cpp
diff -u wesnoth/src/video.cpp:1.67 wesnoth/src/video.cpp:1.68
--- wesnoth/src/video.cpp:1.67 Sat Jun 4 19:16:06 2005
+++ wesnoth/src/video.cpp Sat Jun 4 20:01:48 2005
@@ -1,4 +1,4 @@
-/* $Id: video.cpp,v 1.67 2005/06/04 19:16:06 ott Exp $ */
+/* $Id: video.cpp,v 1.68 2005/06/04 20:01:48 Sirp Exp $ */
/*
Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
@@ -269,7 +269,7 @@
return 0;
fullScreen = (flags & FULL_SCREEN) != 0;
- frameBuffer = SDL_SetVideoMode( x, y, 0, flags );
+ frameBuffer = SDL_SetVideoMode( x, y, bits_per_pixel, flags );
if( frameBuffer != NULL ) {
image::set_pixel_format(frameBuffer->format);