mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-23 16:19:44 +00:00
Make sure ginfo->pic0Texture is not NULL
This commit is contained in:
parent
69234a1103
commit
eeb50b354f
@ -684,7 +684,7 @@ void GamePauseScreen::DrawBackground(UIContext &dc) {
|
||||
if (ginfo) {
|
||||
if (ginfo->pic1Texture) {
|
||||
ginfo->pic1Texture->Bind(0);
|
||||
} else {
|
||||
} else if (ginfo->pic0Texture) {
|
||||
// Draw pic0 if pic1 is not available
|
||||
ginfo->pic0Texture->Bind(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user