SFML community forums

Help => General => Topic started by: Gabriel_ on June 17, 2020, 05:38:43 pm

Title: Sprite disappearing after recreating window
Post by: Gabriel_ on June 17, 2020, 05:38:43 pm
I'm really new to SFML.
After i recreate a window one of my sprites disappears.
It's the sprite that i use to make the fade effect and it has a completely black 1080x1080 texture

this is the code that i used to recreate the window:

mainWindow->create(sf::VideoMode(screenX, screenY), "Game", sf::Style::Fullscreen);
Title: Re: Sprite disappearing after recreating window
Post by: eXpl0it3r on June 17, 2020, 06:16:45 pm
Are you still drawing it?