SDL_ShowMessageBox: Remove #ifdefs and respect SDL_VIDEO_DRIVER hint.

Fixes #8892.
This commit is contained in:
Ryan C. Gordon 2024-01-22 18:04:14 -05:00
parent 5f65fd360d
commit c88c12148d
24 changed files with 89 additions and 86 deletions

View file

@ -116,7 +116,8 @@ static SDL_VideoDevice *Emscripten_CreateDevice(void)
VideoBootStrap Emscripten_bootstrap = {
EMSCRIPTENVID_DRIVER_NAME, "SDL emscripten video driver",
Emscripten_CreateDevice
Emscripten_CreateDevice,
NULL /* no ShowMessageBox implementation */
};
int Emscripten_VideoInit(SDL_VideoDevice *_this)