mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 13:38:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
12
Brutal.Sdl.Mixer/Manual/Libraries/SdlMixer.Init.cs
Normal file
12
Brutal.Sdl.Mixer/Manual/Libraries/SdlMixer.Init.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
namespace Brutal.SdlApi.Mixer;
|
||||
|
||||
public static unsafe partial class SdlMixer
|
||||
{
|
||||
public static void Quit()
|
||||
{
|
||||
// Free the callback GCHandles only after MIX_Quit returns; the audio thread uses them until then.
|
||||
PInvoke.Quit();
|
||||
ClearCallbacks();
|
||||
ExceptionAggregator.Clear();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue