From b6577e630d6278fadd6434e745a16be652a4368e Mon Sep 17 00:00:00 2001 From: Aloshi Date: Mon, 23 Dec 2013 20:22:15 -0600 Subject: [PATCH] Hopefully fixed the "black screen" bug. At least for input configuration. --- src/views/ViewController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/ViewController.cpp b/src/views/ViewController.cpp index dc737fb06..ddb09f383 100644 --- a/src/views/ViewController.cpp +++ b/src/views/ViewController.cpp @@ -11,7 +11,7 @@ #include "../animations/LambdaAnimation.h" ViewController::ViewController(Window* window) - : GuiComponent(window), mCurrentView(nullptr), mCamera(Eigen::Affine3f::Identity()), mFadeOpacity(1), mLockInput(false) + : GuiComponent(window), mCurrentView(nullptr), mCamera(Eigen::Affine3f::Identity()), mFadeOpacity(0), mLockInput(false) { // slot 1 so the fade carries over setAnimation(new LambdaAnimation([&] (float t) { mFadeOpacity = lerp(1.0f, 0.0f, t); }, 900), nullptr, false, 1);