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:
parent
034cf6a69f
commit
0d8a5c191c
7 changed files with 34 additions and 63 deletions
|
|
@ -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)
|
||||
{
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue