mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-06 07:56:45 +00:00
Allow using super-wide resolutions.
Super-tall resolutions break horribly, however.
This commit is contained in:
parent
dec7707562
commit
e29d4e65bd
1 changed files with 1 additions and 5 deletions
|
@ -994,11 +994,7 @@ This build is not yet final, and as such there are a couple things lacking. They
|
||||||
|
|
||||||
float asp = float(user.video.resx)/float(user.video.resy);
|
float asp = float(user.video.resx)/float(user.video.resy);
|
||||||
|
|
||||||
|
if(asp < 1.0f)
|
||||||
if (asp >= 1.0f && asp < 1.8f)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
std::ostringstream os;
|
std::ostringstream os;
|
||||||
os << "Aspect ratio for resolution [" << user.video.resx << ", " << user.video.resy << "] not supported.";
|
os << "Aspect ratio for resolution [" << user.video.resx << ", " << user.video.resy << "] not supported.";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue