Bug 757944 - Don't call onSurfaceCreated/onSurfaceChanged before a context is created. r=joe

--HG--
extra : rebase_source : 61ce6cb26a69ace210f2fb60eb4714dd5fed3eb9
This commit is contained in:
Benoit Girard 2012-05-23 18:26:21 -04:00
parent 3f58ad3be0
commit e5900f58f8

View File

@ -137,11 +137,6 @@ public class GLController {
}
mGL = mEGLContext.getGL();
if (mView.getRenderer() != null) {
mView.getRenderer().onSurfaceCreated((GL10)mGL, mEGLConfig);
mView.getRenderer().onSurfaceChanged((GL10)mGL, mWidth, mHeight);
}
}
private EGLConfig chooseConfig() {