Skip to content

Commit

Permalink
[#98]: Remove Window::Clear as it's no longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobDomagala committed Jul 31, 2023
1 parent a0ddd47 commit bb3238f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 2 additions & 0 deletions editor/editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,8 @@ Editor::SetLockAnimationPoints(bool lock)
void
Editor::Update()
{
HandleCamera();

if (m_animateGameObject && m_currentSelectedGameObject)
{
auto moveBy = std::dynamic_pointer_cast< Animatable >(m_currentSelectedGameObject)
Expand Down
8 changes: 0 additions & 8 deletions engine/renderer/window/window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,6 @@ Window::MakeFocus()
glfwFocusWindow(window_);
}

void
Window::Clear()
{
// glfwMakeContextCurrent(window_);

// RenderCommand::Clear();
}

void
Window::ShowCursor(bool choice)
{
Expand Down

0 comments on commit bb3238f

Please sign in to comment.