// currently not working correctly (needs fix)
// FIXME screen orientation needs to be stored for
// Input#getNativeOrientation
CGSize bounds = app.getBounds(this);
graphics.width = (int)bounds.width();
graphics.height = (int)bounds.height();
graphics.makeCurrent();
app.listener.resize(graphics.width, graphics.height);
}
public boolean shouldAutorotateToInterfaceOrientation (UIInterfaceOrientation orientation) {