Changing how the loading screen is approximated. Fixes #2.

This commit is contained in:
Faerbit 2015-03-15 15:39:24 +01:00
parent 608c159aa6
commit b19118252f

View File

@ -221,8 +221,12 @@ void Graphics::renderLoadingScreen() {
}
loadingScreen = Texture2DFileManager::the()->get(Texture2DCreator(loadingScreenPath));
loadingScreen->generateMipmaps();
loadingScreen->setMinFilter(GL_NEAREST_MIPMAP_LINEAR);
loadingScreen->setMagFilter(GL_LINEAR);
loadingContinueScreen = Texture2DFileManager::the()->get(Texture2DCreator(loadingScreenContinuePath));
loadingContinueScreen->generateMipmaps();
loadingContinueScreen->setMinFilter(GL_NEAREST_MIPMAP_LINEAR);
loadingContinueScreen->setMagFilter(GL_LINEAR);
loadingScreenWidth = (float)loadingScreen->getWidth();
loadingScreenHeight = (float)loadingScreen->getHeight();