Skip to content

Commit 32c61ed

Browse files
azhirnovTheMostDiligent
authored andcommitted
Fixed crash on Android/Vulkan
DiligentGraphics/DiligentEngine#133
1 parent 68658b2 commit 32c61ed

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

NativeApp/src/Android/AndroidAppBase.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ void AndroidAppBase::HandleCmd(struct android_app* app, int32_t cmd)
159159
}
160160

161161
case APP_CMD_TERM_WINDOW:
162+
case APP_CMD_PAUSE:
162163
// The window is being hidden or closed, clean it up.
163164
eng->TermDisplay();
164165
eng->has_focus_ = false;

0 commit comments

Comments
 (0)