Remove SDL_quit

Removed upstream:
- 9c8c254af2
- f06f761c2f
This commit is contained in:
Dan Balasescu 2024-04-16 00:54:15 +09:00
parent fb74af1481
commit ad47cc7b24
No known key found for this signature in database
3 changed files with 0 additions and 16 deletions

View File

@ -1,15 +0,0 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace SDL
{
public partial class SDL3
{
[Macro]
public static unsafe bool SDL_QuitRequested()
{
SDL_PumpEvents();
return SDL_PeepEvents(null, 0, SDL_eventaction.SDL_PEEKEVENT, SDL_EventType.SDL_EVENT_QUIT, SDL_EventType.SDL_EVENT_QUIT) > 0;
}
}
}

View File

@ -112,7 +112,6 @@ headers = [
add("SDL3/SDL_platform.h"),
add("SDL3/SDL_power.h"),
add("SDL3/SDL_properties.h"),
add("SDL3/SDL_quit.h"),
add("SDL3/SDL_rect.h"),
add("SDL3/SDL_render.h"),
add("SDL3/SDL_revision.h"),