diff options
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
| -rw-r--r-- | cmds/bootanimation/BootAnimation.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index 77b74e9898b8..5adcd930e341 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -707,11 +707,11 @@ void BootAnimation::resizeSurface(int newWidth, int newHeight) {      eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);      eglDestroySurface(mDisplay, mSurface); -    mFlingerSurfaceControl->updateDefaultBufferSize(newWidth, newHeight);      const auto limitedSize = limitSurfaceSize(newWidth, newHeight);      mWidth = limitedSize.width;      mHeight = limitedSize.height; +    mFlingerSurfaceControl->updateDefaultBufferSize(mWidth, mHeight);      EGLConfig config = getEglConfig(mDisplay);      EGLSurface surface = eglCreateWindowSurface(mDisplay, config, mFlingerSurface.get(), nullptr);      if (eglMakeCurrent(mDisplay, surface, surface, mContext) == EGL_FALSE) { |