Skip to content

Commit

Permalink
Fix AL ReopenDevices extension
Browse files Browse the repository at this point in the history
  • Loading branch information
doobah committed Dec 5, 2023
1 parent 7980c13 commit 3b8cc10
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 3b8cc10

Please sign in to comment.