[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src video.cpp
From: |
David White |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src video.cpp |
Date: |
Sat, 04 Jun 2005 16:01:48 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: David White <address@hidden> 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 <address@hidden>
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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Wesnoth-cvs-commits] wesnoth/src video.cpp,
David White <=