Backport sdl-2.0 prompt shadow fix to master

This commit is contained in:
Bill Kendrick 2022-05-18 23:42:13 -07:00
parent d3d2ecde1a
commit a6f5449ce4

View file

@ -22,7 +22,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
June 14, 2002 - May 15, 2022
June 14, 2002 - May 18, 2022
*/
#include "platform.h"
@ -13396,6 +13396,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_BlitSurface(screen, NULL, backup, NULL);
for (w = 0; w <= r_ttools.w; w = w + 2)