[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src preferences.cpp
From: |
Philippe Plantier |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src preferences.cpp |
Date: |
Thu, 28 Oct 2004 15:51:30 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Philippe Plantier <address@hidden> 04/10/28 19:44:14
Modified files:
src : preferences.cpp
Log message:
Commented the code forcing the resolution width & height to be
divisible by 4.
Will this cause some bugs?
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/preferences.cpp.diff?tr1=1.114&tr2=1.115&r1=text&r2=text
Patches:
Index: wesnoth/src/preferences.cpp
diff -u wesnoth/src/preferences.cpp:1.114 wesnoth/src/preferences.cpp:1.115
--- wesnoth/src/preferences.cpp:1.114 Sat Oct 2 15:53:58 2004
+++ wesnoth/src/preferences.cpp Thu Oct 28 19:44:14 2004
@@ -1,4 +1,4 @@
-/* $Id: preferences.cpp,v 1.114 2004/10/02 15:53:58 Sirp Exp $ */
+/* $Id: preferences.cpp,v 1.115 2004/10/28 19:44:14 gruikya Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -174,9 +174,14 @@
{
std::pair<int,int> res = resolution;
+ // - Ayin: disabled the following code. Why would one want to enforce
that?
+ // Some 16:9, or laptop screens, may have resolutions which do not
+ // comply to this rule (see bug 10630). I'm commenting this until it
+ // proves absolutely necessary.
+ //
//make sure resolutions are always divisible by 4
- res.first &= ~3;
- res.second &= ~3;
+ //res.first &= ~3;
+ //res.second &= ~3;
bool write_resolution = true;
- [Wesnoth-cvs-commits] wesnoth/src preferences.cpp,
Philippe Plantier <=