Skip to content

Commit 3b593bf

Browse files
committed
rever gemini fix
1 parent 7b80364 commit 3b593bf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

jme3-ios-examples/src/main/java/jme3test/ios/IosTestChooserLauncher.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,13 @@ public void reshape(int width, int height) {
4848
JmeContext context = delegate.getContext();
4949
if (context instanceof IGLESContext) {
5050
((IGLESContext) context).resizeFramebuffer(width, height);
51+
return;
5152
}
5253
if (delegate instanceof SystemListener) {
5354
((SystemListener) delegate).reshape(width, height);
5455
return;
5556
}
56-
delegate.reshape(width, height);
57+
invokeIfPresent(delegate, "reshape", new Class<?>[]{int.class, int.class}, width, height);
5758
}
5859

5960
public void stop(boolean waitFor) {

0 commit comments

Comments
 (0)