diff options
Diffstat (limited to 'examples/play.zig')
-rw-r--r-- | examples/play.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/play.zig b/examples/play.zig index 0a031f9..29c45b6 100644 --- a/examples/play.zig +++ b/examples/play.zig @@ -27,7 +27,6 @@ const alc = zeal.alc; const Device = zeal.Device; const Context = zeal.Context; const Audio = zeal.Audio; -const useContext = zeal.useContext; const Buffer = zeal.Buffer; const Source = zeal.Source; @@ -44,7 +43,7 @@ pub fn main() !void { const audio = try Audio.read(allocator, path); defer audio.free(); - try useContext(context); + try context.makeCurrent(); const buffer = try Buffer.init(context, audio); defer buffer.deinit() catch unreachable; |