We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d76f57d commit a350631Copy full SHA for a350631
1 file changed
jme3-ios/src/main/java/com/jme3/app/IosApplicationLauncher.java
@@ -70,6 +70,7 @@ protected void startApplication(Application application) throws Exception {
70
public void update() {
71
if (app == null) return;
72
JmeContext context = app.getContext();
73
+ if (context == null) return;
74
if (context instanceof IGLESContext) {
75
((IGLESContext) context).runFrame();
76
} else {
@@ -80,6 +81,7 @@ public void update() {
80
81
public void resize(int width, int height) {
82
83
84
85
86
((IGLESContext) context).resizeFramebuffer(width, height);
87
0 commit comments