Skip to content

Commit

Permalink
overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
fallahn committed Oct 20, 2024
1 parent 27798a1 commit 15e5378
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions crogine.sln
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,7 @@ Global
{64579103-DEC3-41E4-971F-9C0DF996BE8B}.Debug|ARM.ActiveCfg = Debug|Win32
{64579103-DEC3-41E4-971F-9C0DF996BE8B}.Debug|ARM64.ActiveCfg = Debug|Win32
{64579103-DEC3-41E4-971F-9C0DF996BE8B}.Debug|x64.ActiveCfg = Debug|x64
{64579103-DEC3-41E4-971F-9C0DF996BE8B}.Debug|x64.Build.0 = Debug|x64
{64579103-DEC3-41E4-971F-9C0DF996BE8B}.Debug|x86.ActiveCfg = Debug|Win32
{64579103-DEC3-41E4-971F-9C0DF996BE8B}.DebugASan|Any CPU.ActiveCfg = DebugASan|Win32
{64579103-DEC3-41E4-971F-9C0DF996BE8B}.DebugASan|ARM.ActiveCfg = DebugASan|Win32
Expand Down
4 changes: 2 additions & 2 deletions samples/scratchpad/src/MyApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ bool MyApp::initialise()
m_stateStack.registerState<PseutheMenuState>(States::ScratchPad::PseutheMenu);

#ifdef CRO_DEBUG_
//m_stateStack.pushState(States::ScratchPad::TrackOverlay);
m_stateStack.pushState(States::ScratchPad::ScrubBackground);
m_stateStack.pushState(States::ScratchPad::TrackOverlay);
//m_stateStack.pushState(States::ScratchPad::ScrubBackground);
//m_stateStack.pushState(States::ScratchPad::MainMenu);
#else
//m_stateStack.pushState(States::ScratchPad::MainMenu);
Expand Down
1 change: 1 addition & 0 deletions samples/scratchpad/src/trackoverlay/TrackOverlayState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ TrackOverlayState::TrackOverlayState(cro::StateStack& stack, cro::State::Context
});

cro::App::getInstance().setClearColour(cro::Colour(0.f, 1.f, 0.f, 0.f));
SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1");
}

//public
Expand Down

0 comments on commit 15e5378

Please sign in to comment.