title menu

This commit is contained in:
cyjullien1
2025-01-07 22:10:43 +01:00
parent 30e0440d07
commit c0ff94623a
3 changed files with 90 additions and 0 deletions

View File

@@ -284,6 +284,10 @@ void backgroundDisplay(dis *display_user,int bg)
{
img = IMG_Load("image/backgroundInEditor.png");
}
else if(bg==3)
{
img = IMG_Load("image/backgroundTitlemenu.png");
}
texture = SDL_CreateTextureFromSurface (display_user->renderer, img);