mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 757944 - Don't call onSurfaceCreated/onSurfaceChanged before a context is created. r=joe
--HG-- extra : rebase_source : 61ce6cb26a69ace210f2fb60eb4714dd5fed3eb9
This commit is contained in:
parent
3f58ad3be0
commit
e5900f58f8
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user