123457 💯

This commit is contained in:
MarcEricMartel 2023-11-27 15:03:53 -05:00
parent f9c3571ab2
commit 0b5c30b693

View File

@ -1123,11 +1123,11 @@ int Engine::GetCountdown(float elapsedTime) {
void Engine::Render(float elapsedTime) { void Engine::Render(float elapsedTime) {
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
m_time_SplashScreen += elapsedTime; /*m_time_SplashScreen += elapsedTime;
if (m_time_SplashScreen < 2) { if (m_time_SplashScreen < 2) {
DrawSplachScreen(); DrawSplachScreen();
} }
else if (m_gamestate == GameState::PLAY) else */if (m_gamestate == GameState::PLAY)
{ {
HideCursor(); HideCursor();
CenterMouse(); //D<>placement de centermouse dans l'action de jouer CenterMouse(); //D<>placement de centermouse dans l'action de jouer