minor fix

This commit is contained in:
artem.budarin committed 2018-08-07 23:13:18 +05:00
1 parent 128c330f48
commit 9ea4ad4b93
1 file changed
+3
@@ -94,6 +94,9 @@ public class GL2JNIActivity extends Activity
}
public static GL2JNIActivity getInstance() {
if (instance == null) {
throw new RuntimeException("error GL2JNIActivity getInstance() - you are trying to get activity instance when it is not created or already destroyed");
}
return instance;
}