Skip to content

Commit

Permalink
No more screenshot on windows 10.
Browse files Browse the repository at this point in the history
  • Loading branch information
anirul committed Mar 18, 2024
1 parent 8222558 commit 3dfc956
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/frame/opengl/sdl_opengl_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,6 @@ bool SDLOpenGLWindow::RunEvent(const SDL_Event& event, const double dt)
}
if (event.type == SDL_KEYDOWN)
{
switch (event.key.keysym.sym)
{
case SDLK_PRINTSCREEN:
device_->ScreenShot("ScreenShot.png");
return true;
}
if (key_callbacks_.count(event.key.keysym.sym))
{
return key_callbacks_[event.key.keysym.sym]();
Expand Down

0 comments on commit 3dfc956

Please sign in to comment.