From 2908f396bad2509994699a2c35adf9b091a439f7 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 1 Mar 2019 10:52:06 -0500 Subject: [PATCH] SDL_DisplayFormatAlpha() is just SDL_DisplayFormat() in modern times, I think. --- src/SDL12_compat.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c index bd000eba3..0b21c9d31 100644 --- a/src/SDL12_compat.c +++ b/src/SDL12_compat.c @@ -2838,11 +2838,9 @@ SDL_DisplayFormat(SDL12_Surface *surface12) } DECLSPEC SDL12_Surface * SDLCALL -SDL_DisplayFormatAlpha(SDL12_Surface *surface) +SDL_DisplayFormatAlpha(SDL12_Surface *surface12) { - FIXME("write me"); - SDL20_Unsupported(); - return NULL; + return SDL_DisplayFormat(surface12); } static void