Bug 876348 - Fix possible NPE in GLController. r=snorp

This commit is contained in:
Kartikaya Gupta
2013-06-05 12:07:04 -04:00
parent 2ff9960b56
commit 80edcf366e

View File

@@ -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) {