Skip to content

Commit

Permalink
Fix AL ReopenDevices extension (#1824)
Browse files Browse the repository at this point in the history
Co-authored-by: arcraith <arcraith@live.com>
  • Loading branch information
okaniku and doobah authored Dec 5, 2023
1 parent c586a2a commit bc7d8a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ namespace Silk.NET.OpenAL.Extensions.Soft
/// </summary>
[NativeApi(Prefix = "alc")]
[Extension("ALC_SOFT_reopen_device")]
public partial class ReopenDevices : NativeExtension<AL>
public partial class ReopenDevices : ContextExtensionBase
{
/// <inheritdoc cref="ExtensionBase" />
/// <inheritdoc cref="ContextExtensionBase" />
public ReopenDevices(INativeContext ctx)
: base(ctx)
{
Expand Down
1 change: 1 addition & 0 deletions src/OpenAL/Silk.NET.OpenAL.Tests/ExtensionLoadingTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ void Test<T>() where T:NativeExtension<ALContext>
Test<CaptureEnumerationEnumeration>();
Test<EffectExtensionContext>();
Test<Disconnect>();
Test<ReopenDevices>();

SilkMarshal.Free(loaderPtr);
SilkMarshal.Free(ctxLoaderPtr);
Expand Down

0 comments on commit bc7d8a0

Please sign in to comment.