Mend bug: Eraser choices turning white...

...when a prompt came up.

h/t Pere; https://sourceforge.net/p/tuxpaint/bugs/292/
This commit is contained in:
Bill Kendrick 2024-09-25 20:01:01 -07:00
parent 13ce7287c8
commit be4827cd03
2 changed files with 9 additions and 3 deletions

View file

@ -22,7 +22,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
June 14, 2002 - September 23, 2024
June 14, 2002 - September 25, 2024
*/
#include "platform.h"
@ -14897,7 +14897,7 @@ static int do_prompt_image_flash_snd(const char *const text,
screen->format->Rmask,
screen->format->Gmask, screen->format->Bmask, screen->format->Amask);
SDL_FillRect(backup, NULL, SDL_MapRGBA(backup->format, 255, 255, 255, 255));
SDL_FillRect(backup, NULL, SDL_MapRGBA(backup->format, 255, 255, 255, 0));
SDL_BlitSurface(screen, NULL, backup, NULL);
/*