mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Make sure ginfo->pic0Texture is not NULL
This commit is contained in:
parent
69234a1103
commit
eeb50b354f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue