Bug 758635 - LayerRenderer doesn't need to implement GLSurfaceView.Renderer. r=jrmuizel

This commit is contained in:
Kartikaya Gupta
2012-06-03 17:49:50 -04:00
parent 29bce2f3b7
commit 8d5cb22fce
2 changed files with 3 additions and 25 deletions

View File

@@ -104,7 +104,7 @@ public class GLController {
synchronized void surfaceChanged(int newWidth, int newHeight) {
mWidth = newWidth;
mHeight = newHeight;
mView.getRenderer().onSurfaceChanged(null, mWidth, mHeight);
mView.getRenderer().resizeView(mWidth, mHeight);
mSurfaceValid = true;
notifyAll();
}