fixed NPE

This commit is contained in:
javasabr 2016-03-29 06:48:47 +03:00
parent 7a3a0627c2
commit 98f1bfc0c1

@ -540,7 +540,9 @@ public class LegacyApplication implements Application, SystemListener {
* Internal use only.
*/
public void reshape(int w, int h){
renderManager.notifyReshape(w, h);
if (renderManager != null) {
renderManager.notifyReshape(w, h);
}
}
/**