mirror of
https://gitlab.com/es-de/emulationstation-de.git
synced 2025-04-02 10:51:45 -04:00
Fixed a potential crash when disabling the help prompts
This commit is contained in:
parent
afd6b939c7
commit
7c9534204c
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ void HelpComponent::applyTheme(const std::shared_ptr<ThemeData>& theme,
|
|||
|
||||
void HelpComponent::render(const glm::mat4& parentTrans)
|
||||
{
|
||||
if (!mVisible)
|
||||
if (!mVisible || mGrid == nullptr)
|
||||
return;
|
||||
|
||||
if (mBackgroundColor != 0x00000000) {
|
||||
|
|
Loading…
Add table
Reference in a new issue