mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +00:00
Fixes libGL problem
This commit is contained in:
parent
60c1d0a1f9
commit
f3cf36fd94
|
@ -13,7 +13,6 @@ Window::Window() : mNormalizeNextUpdate(false), mFrameTimeElapsed(0), mFrameCoun
|
||||||
{
|
{
|
||||||
mHelp = new HelpComponent(this);
|
mHelp = new HelpComponent(this);
|
||||||
mBackgroundOverlay = new ImageComponent(this);
|
mBackgroundOverlay = new ImageComponent(this);
|
||||||
mBackgroundOverlay->setImage(":/scroll_gradient.png");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Window::~Window()
|
Window::~Window()
|
||||||
|
@ -65,6 +64,8 @@ bool Window::init(unsigned int width, unsigned int height)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mBackgroundOverlay->setImage(":/scroll_gradient.png");
|
||||||
|
|
||||||
InputManager::getInstance()->init();
|
InputManager::getInstance()->init();
|
||||||
|
|
||||||
ResourceManager::getInstance()->reloadAll();
|
ResourceManager::getInstance()->reloadAll();
|
||||||
|
|
Loading…
Reference in a new issue