1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-10-20 13:29:30 +00:00

More graphics init cleanup. Remove aspect ratio check. Fix screen transition effect that broke in prev. commits.

This commit is contained in:
fgenesis 2016-11-15 13:00:30 +01:00
commit 0d8a5c191c
7 changed files with 34 additions and 63 deletions

View file

@ -139,8 +139,9 @@ void Core::setup_opengl()
setClearColor(clearColor);
clearBuffers();
showBuffer();
frameBuffer.init(-1, -1, true);
if(afterEffectManager)
afterEffectManager->updateDevice();
}
@ -1389,11 +1390,6 @@ void Core::setupGlobalResolutionScale()
glScalef(globalResolutionScale.x, globalResolutionScale.y, globalResolutionScale.z);
}
void Core::initFrameBuffer()
{
frameBuffer.init(-1, -1, true);
}
void Core::setMouseConstraint(bool on)
{