Add Alot
This commit is contained in:
@@ -58,7 +58,7 @@ void Game::Draw() const {
|
||||
void Game::ProcessKeyDownEvent(const SDL_KeyboardEvent& e) {
|
||||
//std::cout << "KEYDOWN event: " << e.keysym.sym << std::endl;
|
||||
if(e.keysym.sym == SDLK_BACKQUOTE) {
|
||||
m_imGui = !m_imGui;
|
||||
m_ImGui = !m_ImGui;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ void Game::ProcessMouseWheelEvent(const SDL_MouseWheelEvent& e) {
|
||||
m_Camera.SetScale(newScale);
|
||||
}
|
||||
void Game::ProcessImGui() {
|
||||
if(m_imGui) {
|
||||
if(m_ImGui) {
|
||||
m_pCurrentLevel->ProcessImGui();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user