Implementats els shaders

This commit is contained in:
2025-02-20 08:48:55 +01:00
parent cc0f050c50
commit 9cb57e2ff2
20 changed files with 957 additions and 104 deletions

View File

@@ -87,13 +87,13 @@ void Demo::checkInput()
else if (input->checkInput(input_toggle_border, REPEAT_FALSE))
{
screen->switchBorder();
screen->toggleBorder();
reLoadTextures();
}
else if (input->checkInput(input_window_fullscreen, REPEAT_FALSE))
else if (input->checkInput(input_toggle_videomode, REPEAT_FALSE))
{
screen->switchVideoMode();
screen->toggleVideoMode();
reLoadTextures();
}
@@ -109,7 +109,7 @@ void Demo::checkInput()
reLoadTextures();
}
else if (input->checkInput(input_swap_palette, REPEAT_FALSE))
else if (input->checkInput(input_toggle_palette, REPEAT_FALSE))
{
switchPalette();
}
@@ -170,7 +170,7 @@ void Demo::render()
screen->renderFX();
// Actualiza la pantalla
screen->blit();
screen->render();
}
// Escribe el nombre de la pantalla