From b19118252f1d2ed73e7b58305b126b049f5ef459 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Sun, 15 Mar 2015 15:39:24 +0100 Subject: [PATCH] Changing how the loading screen is approximated. Fixes #2. --- game/graphics.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/game/graphics.cc b/game/graphics.cc index 4216bb9..bbd5dd3 100644 --- a/game/graphics.cc +++ b/game/graphics.cc @@ -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();