mirror of https://github.com/ppy/SDL3-CS.git
parent
fb74af1481
commit
ad47cc7b24
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -112,7 +112,6 @@ headers = [
|
||||||
add("SDL3/SDL_platform.h"),
|
add("SDL3/SDL_platform.h"),
|
||||||
add("SDL3/SDL_power.h"),
|
add("SDL3/SDL_power.h"),
|
||||||
add("SDL3/SDL_properties.h"),
|
add("SDL3/SDL_properties.h"),
|
||||||
add("SDL3/SDL_quit.h"),
|
|
||||||
add("SDL3/SDL_rect.h"),
|
add("SDL3/SDL_rect.h"),
|
||||||
add("SDL3/SDL_render.h"),
|
add("SDL3/SDL_render.h"),
|
||||||
add("SDL3/SDL_revision.h"),
|
add("SDL3/SDL_revision.h"),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue