// FIXME: supporting BOTH (landscape+portrait at same time) is
// 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);
}