Bug 844275 - Ensure that the GeckoLayerClient always starts off with an accurate viewport size. r=Cwiiis
This commit is contained in:
@@ -87,15 +87,6 @@ public class GLController {
|
||||
}
|
||||
|
||||
mEGLConfig = chooseConfig();
|
||||
|
||||
// updating the state in the view/controller/client should be
|
||||
// done on the main UI thread, not the GL renderer thread
|
||||
mView.post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
mView.setViewportSize(mWidth, mHeight);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private EGLConfig chooseConfig() {
|
||||
|
||||
Reference in New Issue
Block a user