Skip to content

Commit

Permalink
fixes some opengl glitches on some circumstances
Browse files Browse the repository at this point in the history
  • Loading branch information
d3cod3 committed Oct 6, 2024
1 parent 92b5c5a commit 871a4d7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/SplashScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ void SplashScreen::update(){
}

if(ofGetElapsedTimeMillis()-startTime > 4800){
splashWindow->setWindowShouldClose();
//splashWindow->setWindowShouldClose();
glfwHideWindow(splashWindow->getGLFWWindow());
}
}

Expand Down Expand Up @@ -107,5 +108,6 @@ void SplashScreen::draw(){
void SplashScreen::mousePressed(int x, int y, int button){
unusedArgs(x,y,button);

splashWindow->setWindowShouldClose();
//splashWindow->setWindowShouldClose();
glfwHideWindow(splashWindow->getGLFWWindow());
}

0 comments on commit 871a4d7

Please sign in to comment.