mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
Fixed a potential crash when disabling the help prompts
This commit is contained in:
parent
afd6b939c7
commit
7c9534204c
|
@ -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…
Reference in a new issue