Skip to content
This repository was archived by the owner on Mar 5, 2023. It is now read-only.

Commit 11651b5

Browse files
committed
Minor fix;
1 parent d50281c commit 11651b5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

project/vcmi-app/src/main/java/org/libsdl/app/SDLActivity.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,11 @@ public static void handleResume()
158158
{
159159
SDLActivity.mIsPaused = false;
160160
SDLActivity.nativeResume();
161-
handleResume();
161+
final SDLSurface surface = mHolder.surface();
162+
if (surface != null)
163+
{
164+
surface.handleResume();
165+
}
162166
}
163167
}
164168

0 commit comments

Comments
 (0)