Changing how the loading screen is approximated. Fixes #2.
This commit is contained in:
parent
608c159aa6
commit
b19118252f
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user