fixed NPE
This commit is contained in:
parent
7a3a0627c2
commit
98f1bfc0c1
@ -540,7 +540,9 @@ public class LegacyApplication implements Application, SystemListener {
|
|||||||
* Internal use only.
|
* Internal use only.
|
||||||
*/
|
*/
|
||||||
public void reshape(int w, int h){
|
public void reshape(int w, int h){
|
||||||
renderManager.notifyReshape(w, h);
|
if (renderManager != null) {
|
||||||
|
renderManager.notifyReshape(w, h);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user