Bug 876348 - Fix possible NPE in GLController. r=snorp
This commit is contained in:
@@ -235,7 +235,7 @@ public class GLController {
|
||||
}
|
||||
|
||||
private String getEGLError() {
|
||||
return "Error " + mEGL.eglGetError();
|
||||
return "Error " + (mEGL == null ? "(no mEGL)" : mEGL.eglGetError());
|
||||
}
|
||||
|
||||
void resumeCompositor(int width, int height) {
|
||||
|
||||
Reference in New Issue
Block a user