Commented the code forcing the resolution width & height to be divisible by 4.

Will this cause some bugs?
This commit is contained in:
Philippe Plantier 2004-10-28 19:44:14 +00:00
parent 692bdc34ea
commit 2173cf6e0f

View file

@ -174,9 +174,14 @@ void set_resolution(const std::pair<int,int>& resolution)
{
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;