Skip to content

Commit

Permalink
Re-enable message boxes on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkrupinski committed Nov 29, 2023
1 parent 34b27ba commit 33d9102
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Source/Platform/Linux/LinuxMessageBox.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@ class LinuxMessageBox {
private:
void showMessageBox(const char* title, const char* message, unsigned int flags) const noexcept
{
/* NOTE: doesn't work after game devs switched SDL to prefer Wayland, need to wait until they fix it
if (showSimpleMessageBox)
showSimpleMessageBox(flags, title, message, nullptr);
*/
}

sdl3::SDL_ShowSimpleMessageBox* showSimpleMessageBox = LinuxDynamicLibrary{ cs2::SDL_DLL }.getFunctionAddress("SDL_ShowSimpleMessageBox").as<sdl3::SDL_ShowSimpleMessageBox*>();
Expand Down

0 comments on commit 33d9102

Please sign in to comment.