fixed NPE
This commit is contained in:
parent
7a3a0627c2
commit
98f1bfc0c1
@ -540,8 +540,10 @@ 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){
|
||||||
|
if (renderManager != null) {
|
||||||
renderManager.notifyReshape(w, h);
|
renderManager.notifyReshape(w, h);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Restarts the context, applying any changed settings.
|
* Restarts the context, applying any changed settings.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user