Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 479f872d authored by Albert Chaulk's avatar Albert Chaulk Committed by Alex Vakulenko
Browse files

Fixup 2D app patch, forgot to remove unused variable

Bug: None
Test: permissiongen to check non-2d app uage
Change-Id: I712083dfe417eb5549b78dc7ab1ee37faa042338
parent a8ebffe4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -349,7 +349,7 @@ void ShellView::OnDrawFrame() {

  surface_flinger_view_->GetTextures(*current_frame_.frame.get(), &textures_,
                                     &ime_texture_, debug_mode_,
                                     view_mode_ == ViewMode::VR);
                                     current_frame_.visibility == ViewMode::VR);
  has_ime_ = ime_texture_.texture != nullptr;
}

+0 −1
Original line number Diff line number Diff line
@@ -72,7 +72,6 @@ class ShellView : public Application, public HwcCallback::Client {
  std::unique_ptr<ShaderProgram> overlay_program_;
  std::unique_ptr<ShaderProgram> controller_program_;

  ViewMode view_mode_ = ViewMode::Hidden;
  // This starts at -1 so we don't call ReleaseFrame for the first frame.
  int skipped_frame_count_ = -1;